Print Integers (Exercise)
00:00
Now that you’ve trained functions, let’s train for
loops. And again, you start with an exercise before you tackle a challenge a bit later. In this course, in this exercise, you should write a for
loop that prints out the integers two through ten, each on a new line, using the range()
function.
00:22 Once you solve the exercise, go on to the next lesson, where you can see how my solution looks.
Become a Member to join the conversation.