Python For Loops - Programming for Beginners

Published: 14 June 2021
on channel: 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:


Watch video Python For Loops - Programming for Beginners online without registration, duration 05 minute 19 second in high hd quality. This video was added by user Python Simplified 14 June 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 137 thousand once and liked it 7 thousand people.