Kodewick
Start learning →
Starter←→0 / 112

Five Steps

#110Starterwhile steps < 53 min

A robot takes five steps forward and calls out each one: 1, 2, 3, 4, 5, one per line.

The counting and the stopping are already written — only the calling out is missing.

Should show
1
2
3
4
5
main.py
steps = 0

while steps < 5:
    steps += 1
    # your code here: show which step it is on now
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.