This sixth lesson in the Python Turtle tutorial series shows you how to repeat sections of your code using 'while loops'. Loops make your code more efficient by reducing the amount of needless repetition. A 'for loop' that we learnt about in the last video is useful when we know how many times we want to repeat an action. A 'while loop' is useful when we don't know exactly how many times we will need to repeat something. Watch the video and try the programming exercises at the end!
0:00 Review & recap
0:47 While loops example 1
3:55 While loops example 2
5:48 Activities
Photo credit:
jcob nasyr on Unsplash
On this page of the site you can watch the video online Python Turtle Tutorial - Lesson 6 - While loops with a duration of hours minute second in good quality, which was uploaded by the user Computer Science Nerd 07 October 2020, share the link with friends and acquaintances, this video has already been watched 1,187 times on youtube and it was liked by 13 viewers. Enjoy your viewing!