Python: Why Do We Need Loops? (For Loops Explained)

  Рет қаралды 3,590

Afternerd

Afternerd

Күн бұрын

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: www.afternerd.com/blog/get-py...
🖥️ Computer Science guide: www.afternerd.com/blog/learn-...
🐍 Python roadmap guide: www.afternerd.com/blog/learn-...
Courses:
📚 Python OOP: www.afternerd.com/udemy/pytho...
Where you can find me:
ℹ️ Website: www.afternerd.com/​
📸 Instagram: / the_kreamix​
🐦 Twitter: / afternerdtweets
#python #pythonforbeginners #pythontutorial #afternerd

Пікірлер: 15
@mhr4291
@mhr4291 Ай бұрын
well explained. thank you
@dorde1798
@dorde1798 Жыл бұрын
I haven't seen all the python tutorials on the internet, but I've seen a lot and your explanations are fairly the best. Thanks for sharing knowledge.
@zakyvids6566
@zakyvids6566 2 жыл бұрын
Thankyou I was waiting for this episode. Please make a video on while loops too thanks
@adrianazupanci1931
@adrianazupanci1931 Жыл бұрын
Uff a better way I’m understanding Loops better than others explanation
@yonahcitron226
@yonahcitron226 2 жыл бұрын
This channel deserves so many views!!
@yonahcitron226
@yonahcitron226 2 жыл бұрын
Like I love the genuine thoughtfulness behind the explanations - looking at the better picture. Really top content, keep it coming!!
@mattkriese7170
@mattkriese7170 Жыл бұрын
Excellent explanation. Cemented a few ideas for me. Thank you!
@juliemiller8105
@juliemiller8105 2 жыл бұрын
Your videos are amazing! I’m a beginner at Python and I was losing hope learning from my professor! Once I found your channel, everything started to make sense!
@binhnguyenvan4633
@binhnguyenvan4633 2 жыл бұрын
my english is not good but this video is easy to understand. And of course i subscribed your channel
@kunalsingh3741
@kunalsingh3741 Жыл бұрын
Your videos are the best among all i have found on KZfaq... Thankyou so much.. do upload other videos..
@bisharo5367
@bisharo5367 Жыл бұрын
This is the first I’m understanding loops I almost gave up on learning python
@zakyvids6566
@zakyvids6566 2 жыл бұрын
Actually it would be better sir if you can make a python crash course as your way of explaining is very good I’m a beginner in python 👍👍👍👍
@ihebbenmansour8234
@ihebbenmansour8234 2 жыл бұрын
Perfect 👌
@geerliglecluse5297
@geerliglecluse5297 11 ай бұрын
Frankly, I think it's easier to calculate an average using a while-loop instead of a for-loop.
@anthonynarine5292
@anthonynarine5292 Жыл бұрын
🦾amazing thank you
Python: While Loops (Reading User Input Indefinitely?!!)
14:40
Python Generators Explained
28:37
Tech With Tim
Рет қаралды 145 М.
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 67 МЛН
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 58 МЛН
Difference between For loops and While loops (In Python)
10:48
Python If Statements Explained (In Great Detail)
24:17
Afternerd
Рет қаралды 3,3 М.
All Python Syntax in 25 Minutes - Tutorial
24:59
Beau
Рет қаралды 27 М.
Python For Loops - Python Tutorial for Absolute Beginners
14:42
Programming with Mosh
Рет қаралды 560 М.
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 427 М.
Functional programming - A general introduction
11:47
Daedalus Community
Рет қаралды 88 М.
While loops in Python are easy ♾️
6:58
Bro Code
Рет қаралды 317 М.
Anaconda (Conda) for Python - What & Why?
26:10
Academind
Рет қаралды 220 М.
How to Learn Python? (From Zero to Hero)
22:15
Afternerd
Рет қаралды 135 М.
Python Variables (Python Tutorial for Beginners)
12:57
Afternerd
Рет қаралды 3,1 М.