Lesson 11 of 62 · about 14 minutes
While Loops 🔄
While Loops 🔄 A for loop is perfect when you know what you are looping over: every item in a list, or the numbers 1 to 10. But sometimes you do not know how many times to repeat. Keep asking until the password is right. Keep doubling until the number passes…
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.