๐Ÿ PyQuest๐Ÿ•น๏ธ Challenge Arcade ยท ๐Ÿ”ข Skip Counter
โญ 0 XP๐Ÿ Python is waking upโ€ฆ

Skip Counter ๐Ÿ”ข

range() has a secret third setting: the step. It's how far to jump each time.

range(0, 10)        # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
range(0, 10, 2)     # 0, 2, 4, 6, 8       โ† jump by 2
range(0, 30, 10)    # 0, 10, 20           โ† jump by 10

Same rule as always: it stops before the middle number.

Your mission

Print every other number from 0 to 20 โ€” so: 0, 2, 4, 6, ... all the way up to and including 20, each on its own line.

Careful with that last one! ๐Ÿ˜‰

Your code

Press โ–ถ Run to see what your code does!