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
In questa pagina del sito puoi guardare il video online Python Turtle Tutorial - Lesson 6 - While loops della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Computer Science Nerd 07 ottobre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,187 volte e gli è piaciuto 13 spettatori. Buona visione!