Multiple choiceExercise 1/7Basic10 XP

range with a step

Task

Which numbers does this program print?

for i in range(2, 8, 2):
print(i)

You need to know

Your answer

Choose one option.

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.