Learn For Loop in Python Properly (with sample code 👩‍💻)

Pubblicato il: 17 dicembre 2024
sul canale di: Chandoo
13,377
375

Loops & Lists are two most important aspects of Python. In this video, learn how to work with them with clear and practical examples.

What we are going to learn:
1) Programming concepts like data types, objects and control flow
2) How to use for loop to loop through list of items
3) A cool trick to write faster and better loops
4) Using list comprehension - alternative to loops

👩‍💻 Code used in this video:
https://github.com/chandoo-org/python

🕐 Video timestamps:

0:00 - Introduction to looping and list comprehension
0:15 - 3 Main concepts in programming
0:38 - Data types
2:10 - Objects & Classes
3:15 - Control flow
5:18 - Using for loop in Python
8:19 - Printing index number & sport with loops
13:38 - A faster & better way to write loops with enumerate()
16:13 - List comprehension in Python
21:16 - What's next?


In questa pagina del sito puoi guardare il video online Learn For Loop in Python Properly (with sample code 👩‍💻) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Chandoo 17 dicembre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 13,377 volte e gli è piaciuto 375 spettatori. Buona visione!