While Loops and For Loops in Python | Python Tutorials for Beginners | Code with Efe #3

Publié le: 17 mars 2021
sur la chaîne: Efe Osa
58
6

This is a video about loops

Loops are very helpful in helping us to not repeat our code

I introduce while loops and for loops in computer science. I'll cover how a while loop works and how a for loop works! A while loop goes on indefinitely until the condition is false, and a for loop iterates over items in a predefined iterable, like a set, list, or string.

I also go over Loops control statements in Python - break and continue. Break will break out of the entire loop and end it, while continue will stop the current iteration of the loop and go on to the next iteration.

Loops are powerful because they allow you to execute the same code over and over again without having to copy and paste the code over and over again!

Feel free to leave any questions.

Please consider subscribing if you liked this video:
   / @efeosa4297  

Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
The goals of my channel are to teach computer programming and inspire anyone that wants to pursue STEM. Anyone Can Code
~~~~~~~~~~~~~~~~~~~~~~~~
Follow me on Instagram:   / efe_osa8  

#python #loops #beginners #coding


Sur cette page du site, vous pouvez voir la vidéo en ligne While Loops and For Loops in Python | Python Tutorials for Beginners | Code with Efe #3 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Efe Osa 17 mars 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 58 fois et il a aimé 6 téléspectateurs. Bon visionnage!