While Loops and For Loops in Python | Learning Python for Beginners | Code with Kylie #6

  Рет қаралды 115,349

Kylie Ying

Kylie Ying

3 жыл бұрын

This is a video about loops loops loops loops loops loops loops loops...
Whew it stopped.
Want a different explanation? Check out a new video I made about loops: • For Loops and While Lo...
Anyways, in this video, I introduce while loops and for loops in computer science. I'll cover how a while loop works and how a for loop works! A while loop goes on indefinitely until the condition is false, and a for loop iterates over items in a predefined iterable, like a set, list, or string. Beware of infinite loops in while loops though!!
I also go over control flow in Python loops - break and continue. Break will break out of the entire loop and end it, while continue will stop the current iteration of the loop and go on to the next iteration.
Loops are powerful because they allow you to execute the same code over and over again without having to copy and paste the code over and over again!
Feel free to leave any questions.
Please consider subscribing if you liked this video: kzfaq.info?sub_...
Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Shoutout to JoBlo movie clips for the Dr Strange clips :) • DOCTOR STRANGE Movie C...
~~~~~~~~~~~~~~~~~~~~~~~~
The goals of my channel are to teach computer programming and inspire kids (especially girls/women) to pursue STEM. Coding is for girls too!
~~~~~~~~~~~~~~~~~~~~~~~~
Follow me on Instagram: / kylieyying
Follow me on Twitter: / kylieyying
Check out my website: www.kylieying.com

Пікірлер: 179
@hubertvelasquez1358
@hubertvelasquez1358 3 жыл бұрын
50 pages of university textbook and I couldn't grasp the entirety of it, you managed to cement it in my head in 11 through a familiar language. Thank you lady.
@OnlineMathsAcademy
@OnlineMathsAcademy 2 жыл бұрын
Damn 50 pages? Burn the book!
@isaacgonzalez6341
@isaacgonzalez6341 2 жыл бұрын
nah he tweakin
@hubertvelasquez1358
@hubertvelasquez1358 2 жыл бұрын
@@isaacgonzalez6341 Who's tweaking here? No one's tweaking here, okay? Do you see the purple elephant too and the shadow people? I tell you, they're real.
@ightimmaheadout290
@ightimmaheadout290 Жыл бұрын
@@hubertvelasquez1358 W response
@benjmeistah
@benjmeistah 2 жыл бұрын
While loops = 0:45 For loops = 4:00 Loops in Loops (a.k.a loopception) 5:50 Control Flow = 7:01
@trevorshaffer5000
@trevorshaffer5000 2 жыл бұрын
Love the way you broke down what was happening line by line. Extremely helpful. Thank you for your help!
@KeepitWausome
@KeepitWausome 3 жыл бұрын
You’re so good at explaining these Python concepts. Thanks for the great videos!
@aaliyam.hashir3434
@aaliyam.hashir3434 2 жыл бұрын
Until watching this video,'python is simple' felt abstract to me,even after a lot of school and college classes on the same.Now, it feels concrete; all thanks to you,Kylie!💖💖
@OnlineMathsAcademy
@OnlineMathsAcademy 2 жыл бұрын
Learning this so I can help the pupils at my school due to shortage of CS teachers, so thank you ❤️
@jeevarajradhakrishnan2845
@jeevarajradhakrishnan2845 Жыл бұрын
Happy to have found such an amazing teacher through freecodecamp. Just completed with loops and control statements. Great lecture. Thanks Kyile Ying
@enescaglarkorkmazgoz7897
@enescaglarkorkmazgoz7897 2 жыл бұрын
Spending your time for those having an interest in coding is something charming. Keep up your good vibes; cheers!
@overdrive5126
@overdrive5126 2 ай бұрын
WAO, girl this is a great tutorial. I've been looking through youtube for a while for a " for loop " and I couldn't find anybody who could explain it so easy, whithout going through their whole tutorial class on python. Im subscribing!.
@rovieriel621
@rovieriel621 3 жыл бұрын
Appreciate these tutorials. Getting back into learning coding and the videos are clear and concise 👌
@_Ali908
@_Ali908 2 жыл бұрын
This video was byfar the best tutorial i watched, so easy to understand! Thank youuu!!
@zarakikenpachi1773
@zarakikenpachi1773 2 жыл бұрын
Thanks alot for the simple and concise explanation. Beginner to Python here, and this was tremendously helpful.
@Antwaun43
@Antwaun43 2 жыл бұрын
I’m new to coding and this helped a lot. Keep them coming! Great work!
@kakairecharles3474
@kakairecharles3474 2 жыл бұрын
Many thanks Kylie for the simplified examples.
@michaelnguyen3201
@michaelnguyen3201 Жыл бұрын
Kylie: Dr. strange analogy was on point, please keep up the good work!!!
@0xQuito
@0xQuito 2 жыл бұрын
im learning code in my cyber sec course and your videos really help! thank you kylie!!
@franciscogaius9442
@franciscogaius9442 4 ай бұрын
this has been so difficult for me to understand, thank you so much for the simplified explanation, Kylie. .
@shazamoroh7923
@shazamoroh7923 2 жыл бұрын
really appreciate this video, it's very hard to find lessons on programming that are easy to understand....even in uni. Glad I found your channel 👍🏽
@aileenmcconnell8350
@aileenmcconnell8350 3 жыл бұрын
Doctor Strange reference came to my mind as well!! :) Thank you for this great video!
@mohammedsaifb4771
@mohammedsaifb4771 Жыл бұрын
i been trying wrap my head around nested for loops and most of the tutorials use numbers to explain this in range(), but this one really make me understand so that you, Kylie.
@blurryface3442
@blurryface3442 10 ай бұрын
That was a wonderful tutorial, I've been struggling at loops for a while now, but thus tutorial give me a better understanding of loops. So thank you very much ❤️.
@ganeshprem3043
@ganeshprem3043 3 жыл бұрын
You make everything seem so simple.. subbed!
@alexhernandez7322
@alexhernandez7322 10 ай бұрын
Very well explained! One of the best explanations I've seen.
@user-ji9go5ip3f
@user-ji9go5ip3f 2 ай бұрын
Bro, u came to heaven as a python coding teacher angel. I hated while and for loops before u enlightened me. Tysm again Kylie 🎉🎉
@veeyun
@veeyun Жыл бұрын
Amazing! Thanks Kylie. Please do more Python videos for beginners! :)
@Mdundowamike
@Mdundowamike 2 жыл бұрын
Hi.. My name is Michael and m a music producer recently i fell in love with coding and id like to thank you verymuch for the great job your doing. You explain these concepts in a way that thats easy and captivating and awsome and i cant think of enough words to pit here but your so good at this thank you....
@BertramMooreIII
@BertramMooreIII Жыл бұрын
Seriously better than this semester i had in python...took that for the credit. I'll watch you to understand
@mariagabrielamacias4336
@mariagabrielamacias4336 11 ай бұрын
love how you explained this!! i have a test tomorrow so it was really helpful!
@aminukamara8499
@aminukamara8499 Жыл бұрын
Am a beginner in python and your videos has help me a lot. They are very clear and understandable plus am a big fan of yours and also MIT(my dream university).
@dagmantv
@dagmantv 2 жыл бұрын
Fantastic video Kylie, so useful... Especially for someone like myself that is brand new to python.
@Rockit66
@Rockit66 2 жыл бұрын
Thank you. finally someone who could paint a picture in my head. hope I can pass the test in a week. :) Thank you very much.
@larslover6559
@larslover6559 3 жыл бұрын
Subscribed and liked! You are doing great job. Thank you for taking the time and effort to teach coding. God bless you have a wonderful day
@myredeemerlives0923
@myredeemerlives0923 2 жыл бұрын
you're an awesome teacher . keep up the good vibes. i didn't know about the break and continue functions. that will come in handy for the project I'm working on. i been studying python for about a week now. i have been studying python- for beginners with mike as my teacher. over on freecodecamp channel hes also a good teacher. but lacked explaining real world applications for the functions. thank you for doing that in your video. i will be watching moreyou your videos. have a wonderful day/night. from south Carolina U.S
@alejandromunoz8124
@alejandromunoz8124 3 жыл бұрын
this is my first introduction to your channel and you got my subscription as soon as you mentioned Dr Strange
@janeturner3508
@janeturner3508 2 жыл бұрын
Thank you! You rock! I wish you where my professor! So clear!
@Miochi_fiochi
@Miochi_fiochi 2 жыл бұрын
im glad i found your channel/content... simple explanation
@salomepantsulaya5515
@salomepantsulaya5515 2 жыл бұрын
thank you so so so much
@adal2222
@adal2222 Жыл бұрын
I like your attitude, thanks for the explanation!
@celinalaidi6038
@celinalaidi6038 Жыл бұрын
ya just got a new subscriber, i'm new to this and ya made it sm simple, thank ya x
@akshaynitinvaidya
@akshaynitinvaidya Ай бұрын
Thank You for this tutorial. It was very helpful
@hiluvz
@hiluvz 3 ай бұрын
I took cs and i've been basically struggling like mad, this cleared my struggle in while n for loops ty kylie
@JMVR7
@JMVR7 2 жыл бұрын
This helped me complete an assignment, absolutely awesome explanation 😁
@yasmeennasr637
@yasmeennasr637 2 жыл бұрын
Best python learning video on youtube. Thank you so much. subscribed and liked
@tomdurover
@tomdurover 5 ай бұрын
Thanks for your videos, things are more clear now :)
@dayanandarajapakse9476
@dayanandarajapakse9476 2 жыл бұрын
Impressed very much. Please make more videos.
@PlumpLumps
@PlumpLumps 6 ай бұрын
Thank you Kylie!
@skirmisher10
@skirmisher10 2 жыл бұрын
This is so helpful. Thank you so much!!
@DavesSpace
@DavesSpace 2 жыл бұрын
Very nice tutorial, nice and clear!
@rbm_su
@rbm_su 2 жыл бұрын
Thank you girl ! Well explained
@ygaaaoo
@ygaaaoo 2 жыл бұрын
I understand these loops, thank u so much.
@princekusinsiah9810
@princekusinsiah9810 2 жыл бұрын
Damn! You're so good! So good in explanation. I subscribed immediately.
@shafiekismail687
@shafiekismail687 7 ай бұрын
Thank you Kylie🎉
@derrilldoyle5651
@derrilldoyle5651 3 жыл бұрын
That you for making this intresting for my daughter. I find this a great tool in teaching her
@hellofrend8254
@hellofrend8254 2 жыл бұрын
You are a life savior i dkdnt understad by other vidio but yoursis best i get it now.
@zackzayco9135
@zackzayco9135 3 жыл бұрын
Great video very informational, i appreciate it
@tejas7m
@tejas7m Жыл бұрын
This helped me a lot.. The way you explain is damn good!
@Dan-wq8id
@Dan-wq8id 3 жыл бұрын
liked and subscribed, great vid, helped me on my assignment, thank you !
@cheveux9718
@cheveux9718 Жыл бұрын
i like how you explain, you edit and I enjoy your personality. I also find your eyes so pretty, the way the eyeliner suits them is soo cute
@ExcelTutorials1
@ExcelTutorials1 2 жыл бұрын
Thanks for the awesome video!!! :)
@icecube2424
@icecube2424 3 жыл бұрын
Thank you for a very good explanation
@eleventhmay3375
@eleventhmay3375 6 ай бұрын
Thank you Kylie
@yogeshchauhan9401
@yogeshchauhan9401 2 жыл бұрын
Awesome explanation 👏
@Driftergirl24
@Driftergirl24 3 жыл бұрын
went through loops to find this vid. thanks :)
@osamamohamed7594
@osamamohamed7594 2 жыл бұрын
Amazing explanation!
@gatjuatwicteatriek4590
@gatjuatwicteatriek4590 Жыл бұрын
You’re always my best one
@abic1122
@abic1122 Жыл бұрын
I love these videos. Do you have list of beginner projects to practice?
@seccom_
@seccom_ 3 жыл бұрын
helped me a lot, thanks!
@Sin_Higurashi
@Sin_Higurashi 2 жыл бұрын
Well someone just earned another subscriber.
@sharavathegade3961
@sharavathegade3961 2 жыл бұрын
Great video .thank you
@ech0175
@ech0175 2 жыл бұрын
Thank you so much this helped me a lot as I have a exam tomorrow
@abinashpradhan2940
@abinashpradhan2940 3 жыл бұрын
Beauty with brain and alot of helpful contents
@GTheo.
@GTheo. Жыл бұрын
Pls make a full course about python.. I have seen a lot out there and you are the best by far ..L.U
@ScottRachelson777
@ScottRachelson777 Жыл бұрын
Great content!
@douglassbatista
@douglassbatista 2 жыл бұрын
Awesome. Thanks
@johntobin9404
@johntobin9404 2 жыл бұрын
Very good. There's meat in your examples too, which I don't find in many tutorials.
@bahozmohoo3668
@bahozmohoo3668 2 жыл бұрын
Thanks Kylie :)
@aariffulalam
@aariffulalam 3 жыл бұрын
I just love your videos... ❤❤❤
@kimiwearsspectacles
@kimiwearsspectacles Жыл бұрын
the dr strange reference was on point. your effort=+1 sub THANKS
@user-fe4si4zr7b
@user-fe4si4zr7b 2 жыл бұрын
You explain things way better than my professor.
@Divyansh-Tiwari
@Divyansh-Tiwari 3 жыл бұрын
Welcome back Kylie
@xaviercortez5625
@xaviercortez5625 3 жыл бұрын
If only there was a love button. My headaches are over and I finally could go to sleep; I understand.
@ankithrajashekar2406
@ankithrajashekar2406 2 жыл бұрын
while 1< 2: print(‘THANK YOU!!’)
@KylieYYing
@KylieYYing Жыл бұрын
Thanks for watching and I hope I helped :) Want a different explanation? Check out this new explanation (2023) about loops: kzfaq.info/get/bejne/sL6RhJCay9qbZHU.html Check out the follow up to this video, demonstrating examples of how loops are used in programming! kzfaq.info/get/bejne/g5Ngf715nLGsm4U.html
@KIKII.K
@KIKII.K 2 жыл бұрын
Holy sh****t a hot coder. at last my challenge is here. 😂 Note to Kylie: am just kidding, i swear i was watching the tutorial, i need it for my assignment. lol Ty before hand! 사랑해
@randomvide1
@randomvide1 Жыл бұрын
Thx for explanation
@indiecrayfish
@indiecrayfish 3 жыл бұрын
oh my gosh THANK YOU!!!
@indiecrayfish
@indiecrayfish 3 жыл бұрын
just mentioning that 'letter' could be anything here saved me and my homework I have been trippin' over this assignment for days now wondering why they chose what they did after the 'for'.
@exclamination545
@exclamination545 6 ай бұрын
thank you !!!
@devarunkarmakar6298
@devarunkarmakar6298 Жыл бұрын
best vids and expaination
@wirrexx
@wirrexx 8 ай бұрын
@yashvardhansahu1797
@yashvardhansahu1797 2 жыл бұрын
thansk a lot kylie :D
@Hals-Ueber-Kopf
@Hals-Ueber-Kopf Жыл бұрын
Thanks a lot 😉😊
@Igor-vk8fl
@Igor-vk8fl 2 жыл бұрын
Amazing!!
@RONYHAZARIKA
@RONYHAZARIKA 3 жыл бұрын
Hey , Great video! Also, I'm taking a machine learning course but i have a lot of difficulties in understanding the concepts and keep forgetting the same. Any solutions?
@KylieYYing
@KylieYYing 3 жыл бұрын
I would suggest just taking it one step at a time. Really dive into the motive behind using one specific tool and analyze the pros and cons about it, what projects people have used it on, etc
@rubenmontes_
@rubenmontes_ 3 жыл бұрын
This some good stuff
@yoda3670
@yoda3670 2 жыл бұрын
TYSM!!! :D
@sagargahatraj5196
@sagargahatraj5196 Жыл бұрын
I already knew python, just here for her smile.💗💗
@awkashi
@awkashi Жыл бұрын
This is better than watching lecture
@danieladanielajohnson250
@danieladanielajohnson250 6 ай бұрын
girl i love u thank u
@fairyforemother
@fairyforemother 2 жыл бұрын
I just started learning Python for the very first time ever... I got stuck on loops in both the textbook and apps I was using. I decided to try KZfaq. Safe to say I'm going to be on here for a while...
@isaac2986
@isaac2986 Жыл бұрын
literal best analogy from the marvel movies to describe a while loop lmaooo
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 188 МЛН
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 99 М.
Python For Loops - Python Tutorial for Absolute Beginners
14:42
Programming with Mosh
Рет қаралды 548 М.
Real-World Coding Interview for Software Engineering (OOP and DP)
1:14:18
While loops in Python are easy ♾️
6:58
Bro Code
Рет қаралды 301 М.
Python: While Loops (Reading User Input Indefinitely?!!)
14:40
Nested while Loop in Python
12:49
Neso Academy
Рет қаралды 10 М.
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 48 М.