Python For Loops For Beginners - Programming Step by Step Tutorial

1 year ago
233

Hi Everyone! Today we will talk about "For Loops" and why they are so important.
For Loops are a control flow statements that helps us:
⭐ iterate over a collection of items
⭐ repeat the same action multiple times
In this video, you will see lots of examples and 2 main use cases.

In addition, we will discuss the range() function and how it related to repetition, and most of all - we will get comfortable with For Loops as we will use them very often in future tutorials.

--------------------------------------
⭐ ABOUT ME ⭐
--------------------------------------
My name is Mariya and I'm a computer science student (finishing up my BSc in the University of London as we speak 😉)
Some of you may recognize me from YouTube:
https://www.youtube.com/@pythonsimplified

I'm mostly known for simplifying very complex concepts such as gradient descent, cross entropy, OOP, CUDA, and more - making them 100% beginner friendly! 💪💪💪
Some of the videos you will see on my Rumble channel were filmed a while back and were designed for YouTube - however, as long as you ignore the "notification bell" stuff, they are still relevant and hopefully - will be able to help lots of wonderful Rumblers! 😃

--------------------------------------
⏰ 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!

--------------------------------------
💳 CREDITS 💳
--------------------------------------
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:
https://www.flaticon.com/

--------------------------------------
🤝 Connect with me 🤝
--------------------------------------
🔗 Github:
https://github.com/mariyasha
🔗 Discord:
https://discord.com/invite/wgTTmsWmXA
🔗 LinkedIn:
https://ca.linkedin.com/in/mariyasha888
🔗 Twitter:
https://twitter.com/mariyasha888
🔗 Blog:
https://www.pythonsimplified.org

Loading 2 comments...