โ† All lessons

Lesson 10 of 62 ยท about 15 minutes

Loops ๐Ÿ”

Loops ๐Ÿ” Loops repeat work so you do not have to. Python has two kinds. for: go through each item for planet in ["Mercury", "Venus", "Earth"]: print(planet) for i in range(5): # 0,1,2,3,4 print(i) for i in range(1, 11, 2): # 1,3,5,7,9 print(i) while: repeatโ€ฆ

The video for this lesson is out Tuesday 3 November at 6pm.

The video lesson is a free preview.

This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.

See the free lessons