CodePlay ?

Home › Lists & Words › 3 / 7

🧩 Parsons

Collect the even numbers

Build a program that prints the even numbers from 1 to 10 as a list: [2, 4, 6, 8, 10]. One line is a trap.

Loading…