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

Veröffentlicht am: 17 Dezember 2024
auf dem Kanal: 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?


Auf dieser Seite können Sie das Online-Video Learn For Loop in Python Properly (with sample code 👩‍💻) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Chandoo 17 Dezember 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 13,377 Mal angesehen und es wurde von 375 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!