How does the four-line create-loop-append-return pattern collapse into a single bracketed expression — and where does the filter go?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
Here is the long way to build a list, written out in full:
result = [] for e in numbers: result.append(e * 3)
Build that exact same list in one line with a list comprehension over numbers. Assign it to tripled.