Exerpad
Exercise 2 · Chapter: For LoopsRequired+50 XP

Count by Twos

Print even numbers from 2 to 20, each on its own line.

2
4
6
8
10
12
14
16
18
20

Hint: Use range(start, stop, step).

Need a hint?
3 available · costs 5 XP each
python

Output
Run your code to see the output here.