Комментарии:
One request. Next time, teach the ‘CtrlC’ stop BEFORE you teach an infinite loop function 😂.
ОтветитьHonestly speaking (because I've struggled a lot) , there is no loop video that tops yours! You say just what needs to be said to grasp the general idea! Thanks man, you are the best! I will absolutely watch your content!
ОтветитьGood stuff, just got done with Pandas a few weeks back and now I am filling in some gaps. Thanks for this wonderful content
ОтветитьCtrl + C do not work for me, stopping the infinite loop on a PC. Why? Thanks for the great tutorials. And how did you mark out and comment out multiple lines at once? Cheers
Ответитьeven if you don't you don't put the continue statement after the print('Found!') it will continue though
Ответитьnice one
Ответитьweeze was here
-to my future 23 subscribers :3
i love you thank you so much thank you this has literally saved my life
Ответитьi love you
Ответитьthanks
ОтветитьLoving the series!
ОтветитьSuper! Thank you for sharing!
ОтветитьCorey! Thanks for video!
If it is possible I`d like to ask you to tell about how we can break an outer loop when some condition is met in an inner loop.
your videos are so unbelievably good. The things i dont unterstand in a whole schoolyear i learn in a couple days from your videos
Ответитьso clear and brilliant explanation
Ответить👍best video with clear and neat explaination
ОтветитьGood lecturer. It is clear :)
Ответитьwell done man
ОтветитьCtrl + C does not work for me to stop the infinity while loop. As my laptom does not have any Pause/Break keys on keyboard I am stuck. The only way is through Tools -> Cancel Build, but I do not like that way. :/
ОтветитьLove the way that you explained this, I finally feel like this is starting to click. Thank you!
ОтветитьYour examples you provide are so much more helpful then the very basic "here is a for loop" explanation. You go one extra step to provide a more real world use, which is much more helpful for me. Thank you!
ОтветитьJust wonderful
Ответитьthis is amazing, thank you.
ОтветитьWhy is it stuck in an infinite loop?
Code eg:
a=10
While a<=10:
If a==18
print(’found’)
continue
Print(a)
a+=1
Is it cause the continue overwrites the while condition?
I have been struggling SO hard with loops in my Intro to Programming class and this helps so much. Thank you!
ОтветитьI'd like to know real-life examples of applications of loops, trying to visualize some of these lessons as I go. Thanks
ОтветитьWhat does X += mean here , what is it’s need
ОтветитьIn while why you use x*=1 and what thats mean
ОтветитьWow! You are the first person I've came across on the internet who has explained this so well! Thank you Corey!!! I'm a math fanatic and I wanted to learn iterations and loops so badly for my own sake but apparently no one explained well enough how to make the infinite loop stop without pressing ctrl C, as they didn't know how to explain well enough.
Ответитьhi
is there any difference between continue and break in nested loop (in general) (for below example there is no difference)
for i in range(1,6):
for j in 'abc':
if i==3:
break
print(i,j)
Hi beginner here. May I know why x=0 can go through the while True loop? I remember in the previous tutorial we learnt that 0 is a False value.
ОтветитьThank you for explaining. I have subscribed your channel, you just helped me with a complicated loop. thank you so much
ОтветитьWHICH APPLICATION WERE YOU USING TO CODE AND RUN YOUR PROGRAMS?
Ответитьcalling main function, my program runs only twice....then it starts printing same value that I give it as input
ОтветитьWhy break statement is not working here?
year=int(input())
if not 1900<=year<=2500:
print('invalid year')
break
if year%4==0 and (year%100!= 0 or year%400==0):
print('Its a leap year')
else:
print("Its not a leap year")
Can you explane what a sentinel in python is?
ОтветитьI like your style Corey :) many thanks
ОтветитьWhile loops have always been confusing to me. Thank you for clearing this up!
ОтветитьYour videos are so easy to follow 👍
Ответитьmost of this makes sense, Thanks for the content but one questions. how does for num in nums works? technically you have specified what num is. nums = [ list ]. how does it know what num is.
ОтветитьThanks
Ответитьvery clear thank you!
Ответитьreally helpful, you did a great job explaining the different loops too, thank you!
ОтветитьAnother awesome breakdown. Very simple and easy to follow
ОтветитьThis channel deserves more subs
Ответитьthanks for creating this video. reviewing for my comp sci midterm
Ответитьthat so F**ing easy now damn ive try do understend that for 2 days and here u come with a damn 11 min video and now i can explain it OMG i was so frusterated!!! ty so much man
Ответить