Hi Sundeep, when I run the below code, I get the answer as 0,1,2 only. it does not give 4 and 5 after skipping 3. My understanding from your class is - 'Continue statement skips the current iteration and takes the control to the next iteration.' # To test the continue statement in the While loop. age=0 while age
Thanks for sharing your videos. I am unable to view some of your videos. It starts but goes on streaming n stops. I can watch all the other people videos problem is only from your chanel. Please help me i have python exams coming up.
I think the step size is default 1 so that it will be incremented by one and continues execution until it reaches the final value(n-1) so (10-1) 9. Pls correct me if am wrong.
Sir if I wish to print 10 also in my output what can b done ...instead of changing the stop value as 11 to make 10 printed on output is there any other way command in python like v give i
Finite, because u are given updation (or) incremental i=i+1, whatever u call are correct. the condition is true. So the output will be 01234 , after 4, the value 5 value is equal to the condition and continue will skip the action, and the incremental value will not proceed because of continue the result is 01234
Sir continue statement doesn't skip when the condition is true , and it will print all the numbers in between the range given so it acts like just as pass right
hi dharmendra i mean when the condition is true then it will skip all the remaining statements of the loop written after continue and starts executing next iteration. Hope it was cleared.
That's great. A very mathematical and logical explanation, very organized thought. The best presentation of coding I have seen by far.
Thank you sir for explaining very briefly.it helped me a lot sir 🙏🙏🙏🙏🙏
Really good video
U r gem sir❤❤❤
Sir simply amazing ur videos.. wow mi videos vinty engough easyga evru Ayna interview crack cheychu..
Sir i would like to thank for u sir!!. Great explanation 🙏
Wonderful teacher....great sir...god bless you..
best tutorial, easily understood.....Thanks to Sir
Apart from Nice teaching, who have heard nenu Sailaja song in background ??
Excellent sir..... no words..... sir do classes on python libraries also sir...
Did u get job in python????
Thanks for making it easy to understand
Thank you am gaining something bring some more vidios am preparing for exams
Excellent sir,Nice explanation andi
Thank you sir , u made it easy to understand
Sir u said in previous video I will show by using tuple, dictionary and list pls show how to use...
Super sir..... Good Explanation
Why you are not using the increment in for loop?
such a great explanation video sir,thanks.
Nice explanation sir!!!
Hi, can i check, here do i have to specify increment value ie i=i +1?
Sir your videos are really helpfulll👍👍
Good explanation sir
18:52 then what's the use of that keyword sir?
Thnq sir clearly understood 🙏
thank you for sharing. could you please also add tutorial for Switch decision structure
You are excellent
Super explanations sir
Hi Sundeep,
when I run the below code, I get the answer as 0,1,2 only. it does not give 4 and 5 after skipping 3.
My understanding from your class is - 'Continue statement skips the current iteration and takes the control to the next iteration.'
# To test the continue statement in the While loop.
age=0
while age
Sir what is correct to procedure to continue in while loop.
Great effort sir....
🙏🙏🙏
sir given inputs 5
1
10
4
3
2
in these inputs print first prime numbers?
please solve this in code............
Great video thanks sir
Thanks for sharing your videos. I am unable to view some of your videos. It starts but goes on streaming n stops. I can watch all the other people videos problem is only from your chanel. Please help me i have python exams coming up.
Great
in the example at 7:23 to increment i, i=i+1, can i also write i+=1?
yes
Yeah, you can it is unary operator
Hello sir. Why i = 10 is not implement since we not gave any condition. Like 1
range is like an array, it starts from 0 to n -1, so, 10 means , 10 -1. So, for a range 1 to 10, it is 1 to 9
Sir explain the continue example using while
How increment will happen in last example sir. ....you have not written I=I+1
Wonderful...
Sir u dint writen increment method in for loop in continue is it possible to iterate with out increment operation
I think the step size is default 1 so that it will be incremented by one and continues execution until it reaches the final value(n-1) so (10-1) 9. Pls correct me if am wrong.
You r right
@@andysondur bit the output is only terminates
For continue program is completely wrong , print I must come before if , please execute in pychaem and then upload
Sir if I wish to print 10 also in my output what can b done ...instead of changing the stop value as 11 to make 10 printed on output is there any other way command in python like v give i
Simply super sir
i=0
while i
Finite, because u are given updation (or) incremental i=i+1, whatever u call are correct. the condition is true. So the output will be 01234 , after 4, the value 5 value is equal to the condition and continue will skip the action, and the incremental value will not proceed because of continue the result is 01234
loop kha gya sir
sir akkada i=i+1 tisukovali kada nduku tisukoleru continue lo
nice sir 👍👍👍👍
Sir please make one video on anaconda and pycharm software
Thanku sir🙏
Amazing 🔥
Thank you sir
Can u give an example for pass statement sir
Sir continue statement doesn't skip when the condition is true , and it will print all the numbers in between the range given so it acts like just as pass right
hi dharmendra
i mean when the condition is true then it will skip all the remaining statements of the loop written after continue and starts executing next iteration.
Hope it was cleared.
for i in range(1,10):
if (i==5):
pass
print(i)
print(“loop terminates”)
In above example, will it print value 5 in output when i==5?
No
for i in range(1,10):
print(i)
if(i==5):
break
i=i+1
print("LOOP TERMINATES")
Pass means if it is wrong or right, it will pass the statement, that's why it prints 5 also. Pass and continue slightly different.
Sir continue Statment may not work for this program
Sir give some exercise also..
Sir I like to learn more from u...
I request you that we are students of hindi medium, you should start python class for hindi medium. For kindless
14:50 u have written a program
The output will be only
Loop Terminated
Increment the value
@@harshasuri7734 it is for loop
Thanks sir
does not continue please help me]
Tqq sir
Tnq sir
pass is keyword but it is continue or skip few second and execute
Sir I want pythan class and objects please upload
Sir loop Kara digea plz
..
...
Hello sir,
If you saying any concept please explain with examples.
Y because I am the poor student.
Sir please I am hindi medium student so you should teach in hindi
Sir please more practically loops
While ur saying a telugu song has been rang
great sir !
In continue ,if condition is false it will not print but have said output will be printed
Add subtitles sir
name = (input("Enter your name: "))
print ("Hello " + name + " lets start game " + " good luck!")
aa = 0
first_latter = input("enter your first latter: ")
while first_latter == "a" and aa == 0:
first_latter = input("enter your first latter: ")
print ("well done try nex latter")
aa += 1
break
else:
continue
Thank you sir