Python: Why Do We Need Loops? (For Loops Explained)
Afternerd Afternerd
21.5K subscribers
3,514 views
0

 Published On Oct 16, 2021

In this video in the Python tutorial for beginners, I am going to teach you all you need to know about Loops in Python, specifically For loops.

I will discuss why we need loops in programming, and in what circumstances we should use them. I will also cover the syntax of for loops, as well as fundamental concepts like the loop counter, the loop body, the loop iteration, and the range function.

⏰ Timestamps:
00:00 | Introduction
00:18 | What are loops in Python?
00:44 | Why do we need loops in Python?
01:38 | An illustrative example of why we need loops
05:07 | For loops and While loops
05:55 | For loops syntax and concepts
13:00 | Loop counters
16:27 | Another example of using For loops
21:33 | Summary

Resources:
📝 Python Cheatsheet: https://www.afternerd.com/blog/get-py...
🖥️ Computer Science guide: https://www.afternerd.com/blog/learn-...
🐍 Python roadmap guide: https://www.afternerd.com/blog/learn-...

Courses:
📚 Python OOP: https://www.afternerd.com/udemy/pytho...

Where you can find me:
ℹ️ Website: https://www.afternerd.com/​
📸 Instagram:   / the_kreamix​  
🐦 Twitter:   / afternerdtweets  

#python #pythonforbeginners #pythontutorial #afternerd

show more

Share/Embed