Тёмный

Python Programming Fundamentals | Python Loops 

Подписаться
Просмотров 311
% 21

🎓 Unlock personalized mentorship, early access to exclusive AI resources, and join a supportive learning community-sign up now for the AI Learning Membership at ailearninghub.io
-------------------------
In this video, you’ll learn how to work with loops in Python. We’ll cover while loops, for loops, and common techniques like using break and continue statements. You’ll understand how to iterate through sequences like lists, strings, and dictionaries, and how to handle multi-dimensional data using nested loops. We also explore the enumerate() function to loop with indices and control the flow of loops to make your code more efficient.
To start learning without installing Python locally, use Google Colab.
Introduction to Google Colab: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FXKMmilL70w.html
Create a new Google Colab Notebook: colab.research.google.com/#create=true
Github Code: github.com/dankornas/ai-roadmap/blob/main/python/8_loops/loops.ipynb
Table of Contents:
0:00 Introduction to Python Loops
0:08 What is a While Loop?
1:07 Example of a Basic While Loop
2:58 Using While Loops to Process a List of Tasks
5:07 Exiting a Loop Early with Break
6:48 Writing a Loop to Guess a Magic Number
9:37 Avoiding Infinite Loops with Break Statements
10:56 Skipping Iterations with Continue
12:50 Printing Odd Numbers Using Continue
14:31 What is a For Loop?
15:57 Iterating Over Lists with For Loops
17:04 Looping Through Strings in a For Loop
18:02 Iterating Over Dictionaries with For Loops
19:10 Using the range() Function in Loops
19:52 Handling Multi-dimensional Data with Nested Loops
20:21 AI Learning Hub Membership
-------------------------
Social channels:
🐦Twitter: dankornas
🌍LinkedIn: www.linkedin.com/in/daniel-kornas/
🕵Facebook: dankornas
📱Instagram: dankornas
🧵 Threads: www.threads.net/@dankornas
-------------------------
📚 AI Books 📚
Introduction to Generative AI 👉 shorturl.at/3dSQz
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.

Опубликовано:

 

13 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@atharvd4287
@atharvd4287 День назад
How many days will you take to complete this bootcamp? Also will you teach advance python in this bootcamp?
@dankornas
@dankornas День назад
This is an ongoing learning process. The basics (Python Pandas Numpy Matplotlib) will be done in 2-3 weeks. And then in 3 weeks, we will start getting into the fundamentals of machine learning. I won't really be going into too much advanced topics except for classes. This is only to teach you enough python to get started with machine learning.