Python For Loops - Programming for Beginners

Опубликовано: 14 Июнь 2021
на канале: Python Simplified
137k
7k

A For loop statement is a basic control flow tool in Python.
In this tutorial I will show you how and why we use them in our code (hint: saves lots of time! ⌚)
We will look at a few code examples of different use cases, and we will also utilize our new knowledge of For loops by recreating lyrics of famous songs!

Please note, I'll be uploading new Python Basics videos by order of importance rather than a learning sequence.
I'll be organizing the videos in a special playlist and will fill in the blanks as we go

If you want to see my first few Python Basics lessons (I've filmed them a very long time ago so you may notice some differences )

Python Variables and Data Types :


Naming Python Variables:


Coding Software:


TIMESTAMPS
*******************************
00:00 - What is a For loop?
00:14 - Why use For loops?
00:42 - For Loop Syntax
02:11 - Iteration Example
03:16 - Repetition and Range
03:55 - Repetition Example
04:42 - Thanks for watching!
*******************************

In the iteration code example, I cited:
Bootylicious, Destiny's Child, Survivor, Columbia, 2001

In the repetition code example, I cited:
Smells Like Teen Spirit, Nirvana, Nevermind, DGC, 1991

A huge thank you to flat icon for the lovely icons in the slides:


Big thank you to freepik for the loop vector on the thumbnail:


Смотрите видео Python For Loops - Programming for Beginners онлайн без регистрации, длительностью 05 минут 19 секунд в хорошем hd качестве. Это видео добавил пользователь Python Simplified 14 Июнь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 137 тысяч раз и оно понравилось 7 тысяч людям.