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
Auf dieser Seite können Sie das Online-Video Python Turtle Tutorial - Lesson 6 - While loops mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Computer Science Nerd 07 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,187 Mal angesehen und es wurde von 13 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!