PYTHON CORE · LESSON 08
Repeats
for loop · about 12 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Dial the loop. Find colon and indentation in front of print.
for count in range(3):
print(count)Open the editor for class workSolve it yourself
Using the for and range loop, output the numbers 1, 2, 3. Name the loop variable step.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework