Break & Continue Statements In Python | Python Tutorials For Absolute Beginners In Hindi #18

  Рет қаралды 439,924

CodeWithHarry

CodeWithHarry

Күн бұрын

Пікірлер
@deepagusain8944
@deepagusain8944 4 жыл бұрын
# QUIZ ANSWER while(1): number = int(input("Enter your number please: ")) if (number < 100): print('Try Again!!') continue else: print('Congratulations you entered a number more than 100!!') break # THANK YOU FOR SUCH A GREAT EXPLANATION!!
@Eren_yeager77
@Eren_yeager77 2 жыл бұрын
hey bro can you help me i am getting same error again and again i tried your program but it doesnt give but when i write my program it gives error in break statement
@amrutashinde9850
@amrutashinde9850 2 жыл бұрын
@@Eren_yeager77 what was the error
@GauravKariya
@GauravKariya 6 жыл бұрын
while(1): i = int(input("Please enter a number ")) if (i < 100): print("TRY AGAIN!!!") continue else: print("Congratulations! you have entered a number greater than 100") break
@Sanketss
@Sanketss 4 жыл бұрын
good!!
@viplawkumaraniket5522
@viplawkumaraniket5522 4 жыл бұрын
bhai aapka program to 100 pe bhi greater bata de raha hai
@manpreetsingh-yl5ou
@manpreetsingh-yl5ou 4 жыл бұрын
@@viplawkumaraniket5522 use these statement after if elif (i ==100): print("Congratulations! you have entered a number equal to 100") break
@taahaquraishi7181
@taahaquraishi7181 4 жыл бұрын
thanks, I got stuck in making this program, your program helped me
@GetShort
@GetShort 4 жыл бұрын
Good and nice
@Vishalmishra-1403
@Vishalmishra-1403 4 жыл бұрын
most valuable channel for CSE students. Thank you Harry bhai..
@hash_caul976
@hash_caul976 2 жыл бұрын
@Weeb's Fiction sbke liye , sb dekho bhai logo, khula maidan uthalo diamond and gold 🏆
@yash8944
@yash8944 2 жыл бұрын
@weebsfiction9153bca wale chutiye hote h
@landarmygaming7103
@landarmygaming7103 11 ай бұрын
Hi Harry..!! This is Harsh from Delhi. A beginner programmer who is accessing your playlist and to be honest I'm enjoying this language through the way of your teaching. I've learnt so many things till now. Thank you so much.
@gautampubreja823
@gautampubreja823 3 жыл бұрын
while(True): print("please enter your number") n1 = int(input()) if n1 < 100: print("invalid output") continue if n1>100: print("hurray you are correct") break sir u are absolutely great !
@freejobawares
@freejobawares 6 жыл бұрын
break and continue by getting user input while("true"): print("enter the number greater than 100") num = int(input()) if num
@shrishaildolle5642
@shrishaildolle5642 2 жыл бұрын
greater than means 100 se bada beta 🤣🤣🤣
@dilkhushsingh6003
@dilkhushsingh6003 2 жыл бұрын
bhai last me input kyu liya h
@sujitgamming4184
@sujitgamming4184 2 жыл бұрын
nice bro😆😆
@kanishkkanishk3616
@kanishkkanishk3616 2 жыл бұрын
Last me print bhi use ker skta he bhai
@harshrajyoutube
@harshrajyoutube 2 жыл бұрын
Continue nhi hoga na bro ye
@12mananjain86
@12mananjain86 4 жыл бұрын
i=int(input("the element")) while(True): if i100): print("thank you") break
@carsattitude
@carsattitude 3 жыл бұрын
Bro you have one mistake line 6 you need elif no if ok bro
@shubhamsahu9461
@shubhamsahu9461 3 жыл бұрын
you are so great harry bhai🌹👌❤ I am gating a lot of knowledge from this tutorial . while(True): i = int(input("Enter a number That you want to print\t:")) if i>100: print("congratulations You have Printed the No. grater then 100 ") break else: print("try again! ") continue
@okyt5194
@okyt5194 3 жыл бұрын
while(1): inp = int(input("chl be ek number daal:- ")) if inp>100: print("dimaag to hai tere mai") break else: print("pagal hai kya :)") continue
@tanaykhatua4147
@tanaykhatua4147 3 жыл бұрын
🤣🤣😂😂❤
@umanggarg8243
@umanggarg8243 3 жыл бұрын
Bhai agar is me continue use na kre to bhi same work krega
@angadsingh6478
@angadsingh6478 3 жыл бұрын
@@umanggarg8243 yes, it will work
@SavitriDevi-rp2vv
@SavitriDevi-rp2vv 3 жыл бұрын
🤣🤣🤣🤣
@souryasoni79
@souryasoni79 3 жыл бұрын
Very funny .. cant stop laughing
@supritmangde8777
@supritmangde8777 4 жыл бұрын
one like for telling again and aging for playlist its reflect care :)
@mega-robotff4751
@mega-robotff4751 4 жыл бұрын
while(True): var_1= int(input('enter a number : ')) if var_1>100: print ('congratulations you can entered number which is greater than 100') break else: print ('please try again') continue
@vaibhavkhandelwal8739
@vaibhavkhandelwal8739 10 ай бұрын
continue has no work here it can be removed
@user-ze8ph9nq2n
@user-ze8ph9nq2n 3 жыл бұрын
print("enter a random number") c = int(input()) if c>=100: print(c, "is valid") while (c
@AbdulHadi-s4s
@AbdulHadi-s4s 9 ай бұрын
You can also write 'enter a random number' in the input() brackets instead of writing it in the print() statement.
@AbdulHadi-s4s
@AbdulHadi-s4s 9 ай бұрын
you have not added a while loop
@krishnagoyal3598
@krishnagoyal3598 3 жыл бұрын
at first i was not able to understand while loop, break & continue statements but after watching video 4 to 5 times finally i understood. GREAT VIDEO
@DrRCB
@DrRCB 3 жыл бұрын
Keep it up.
@rimeldas.882
@rimeldas.882 Жыл бұрын
Makhan kam lagao
@divyaprakashks4789
@divyaprakashks4789 5 жыл бұрын
hey bro , i am a mechanical engineer trying to get in to programming and your videos are helping me a lot.Thanks
@shivamchauhan-lw2wv
@shivamchauhan-lw2wv 2 жыл бұрын
wh@t r u doing now as a professional?
@AmazonGadgets-xh9se
@AmazonGadgets-xh9se 3 жыл бұрын
Hi sir I am from Pakistan and I watched your videos aur jis tareeqe se ap smjhate hain it's too good
@Hack-dv3yr
@Hack-dv3yr 2 жыл бұрын
# this is my answer while(True): inp = int(input("Enter a Number: ")) if inp == 18: print("Yo u have entered the number correct number") break elif inp > 18: print("Enter a leaser number.") continue else: print("Enter a greater number.") # My name is Dhritisman Das, I am 14 years old. # I want to thank u sir for making this series this series have helped me a lot thank u so much sir.
@nazakatali2369
@nazakatali2369 2 жыл бұрын
good effort. just change the ">" sign with "
@javedakhtar5000
@javedakhtar5000 4 жыл бұрын
while(True): i = int(input("Enter a Number: ")) if i>100: print("Congratulations! You have won the game.") break else: print("Try Again!")
@KhannaSparsh
@KhannaSparsh 4 жыл бұрын
While True: Number = input("Enter a number:-. ") If Number>100: break
@sarveshkumarnasare1420
@sarveshkumarnasare1420 4 жыл бұрын
a=int(input()) while (a
@bibekdas6277
@bibekdas6277 2 жыл бұрын
while(True): num = int(input("Enter a number greater than 100 ")) if (num
@harshgoyalchannel
@harshgoyalchannel 3 жыл бұрын
var = int(input("Enter A digit ", )) while(True): var = int(input("Re-Enter A digit ", )) if var
@kartiksharma674
@kartiksharma674 3 жыл бұрын
Modi murdabaad
@hareshparab7808
@hareshparab7808 3 жыл бұрын
bhai re enter vala line var
@VishwasVlogsHere
@VishwasVlogsHere 4 жыл бұрын
Here..😂 a=100 while True: b=int(input("Enter:")) if a>b: continue else: print("Congratulations") break
@vipultewariibm
@vipultewariibm 4 жыл бұрын
""" Take input from user till it print values less than 100. Once he enters value greater than 100 it should stop asking for input and print "Thanks for choosing value greater than 100. """ print("Please enter the number : ") inValue = int(input()) while (inValue 100: break; else: print("Please enter the value greater than 100 to exit else we will keep bothering you for your input") inValue = int(input()) print("Thank you for entering value greater than 100.")
@Aditya_Music_India
@Aditya_Music_India Жыл бұрын
I have created my first code at my own :- n1 = int(input("Enter a number : ")) while (True): if n1 100: print("Congrats, You nailed it...") break
@bhau1843
@bhau1843 2 жыл бұрын
Can't believe 3296 subscribers....when make video...... Itne kam subscriber par koi itne dedication ke sath puri ki puri series bana sakta hai.....
@suraj8285
@suraj8285 2 жыл бұрын
print(" * * * * * Welcom to game greater than 100 * * * * *") while(True): i = int(input("Enter the Number = ")) if (i>100): print("* * * * * Conratulation you win * * * * *") else: print("Enter Again !!!")
@ashishbhatnagar2260
@ashishbhatnagar2260 4 жыл бұрын
print("WELCOME") while(True): i = int(input("Enter a number")) if i>=100: print(i) print("Got a value greater than 100") break else: continue
@Hec_tic
@Hec_tic 4 жыл бұрын
EOF error aa rha he ...Kya hota he?
@dulakmandal2935
@dulakmandal2935 4 жыл бұрын
while 1: user = int(input("Enter a number: ")) print("You entered: ", user) if user>100: break else: print("Try Again.") continue print("You've entered a number greater than 100. Goodbye.")
@sudhanshudwivedi818
@sudhanshudwivedi818 3 жыл бұрын
Shuruaat mein lagta tha python Sikh Lo fir hacking bhi Sikh lunga ab lagta hai python Sikh lo wahi bahut hai
@alnahian8051
@alnahian8051 3 жыл бұрын
num = int(input("Enter a number: ")) while(True): if num
@serveshx
@serveshx 3 жыл бұрын
how you wrote such a nice short code ?::::))))) i m impressed thanks for sharing please tell how you learned that great?
@aryandhakad8495
@aryandhakad8495 2 жыл бұрын
while True: i = int(input("enter a number: ")) if i < 100: print(i) continue if i > 100: print("Congratulation you have given a number which is greater than 100") break
@user-do5gq3do9g
@user-do5gq3do9g 4 жыл бұрын
while 1: b=int(input('Insert a number')) a="Congratulations! You print a right number" if b
@shivamkumar-qo5pz
@shivamkumar-qo5pz 4 жыл бұрын
thumbnail was lit😂
@techieroy6177
@techieroy6177 6 жыл бұрын
Thumbnail 🔥🔥🔥
@avi_vai
@avi_vai 3 жыл бұрын
😂😂🤣🤣
@abhinandansinha5016
@abhinandansinha5016 Жыл бұрын
Bro seriously, you explained this in the best possible way..
@RohitMishra-ox6oy
@RohitMishra-ox6oy 6 жыл бұрын
while(True): print("ENter your number") num = int(input()) if num>=100: print(" Congrates you have printed number more than 100") break
@RohitMishra-ox6oy
@RohitMishra-ox6oy 6 жыл бұрын
Bhai mera bhi name lelo video m jo ap aage bana rahe ho main hrek question time p kar raha hoon
@CodeWithHarry
@CodeWithHarry 6 жыл бұрын
Okay bro!
@digitalcodingwithyashu6557
@digitalcodingwithyashu6557 3 жыл бұрын
codewithharry bro you are a winner!
@SuryanshSingh-f8d
@SuryanshSingh-f8d 6 жыл бұрын
thumnail mst h😂🤣something different ....
@monikavarshney5029
@monikavarshney5029 4 жыл бұрын
Cool goggles
@achintaacharya4296
@achintaacharya4296 6 жыл бұрын
Bhai Android development ke upar video banao please🙏🙏🙏🙏🙏👍👍
@ananabeelibneaziz9405
@ananabeelibneaziz9405 Жыл бұрын
Bhai agar aapne seekh liye Android development to zara roadmap bata skte hein?
@viswanathnaik8306
@viswanathnaik8306 2 жыл бұрын
n=int(input("enter num")) if n
@montage_0189
@montage_0189 4 жыл бұрын
print("Enter Number") while (True): a=int(input()) if a>100: print("Congratulation You Pass") break
@VikramAnand6Strings
@VikramAnand6Strings 4 жыл бұрын
bro your logic only satisfies half of the question it has no code for the instance when input
@prakashbanjade4374
@prakashbanjade4374 3 жыл бұрын
This is the honest code: while (True): a = int(input("Enter a no.: ")) if (a
@46_amitpawar15
@46_amitpawar15 2 жыл бұрын
a little confusing video
@Sumit-tn9ut
@Sumit-tn9ut 2 жыл бұрын
thank you harry bhai while True: a=int(input("enter your no. ")) if a
@vaibhavsharma6330
@vaibhavsharma6330 3 жыл бұрын
6:35 while(True): inp = int(input('Enter a number greater than 100 ')) if inp < 100: continue else: print("Congrats") break
@mukeshpawar9559
@mukeshpawar9559 2 жыл бұрын
while(True): inp=int(input("enter a number")) if inp>100: print("congratulation you enter a number greater than 100") break while(inp100): print("congratulation you number goes greater than 100,after multiplying by 2") break if inp==100: print("so close")
@riagumber9092
@riagumber9092 2 жыл бұрын
#hello harry, I have made this without using the continue function inp1 = input("enter ur num") A = int(inp1) while(inp1): if A100 or int(inp2)>100: break print("congrats")
@rafe920
@rafe920 2 жыл бұрын
print("enter your number") n1 = int(input()) while (n1=100 continue
@rajivgarg6559
@rajivgarg6559 2 жыл бұрын
a=100 while (True): inp = int(input("Enter a number")) if inp
@tringtroll
@tringtroll 2 жыл бұрын
num = 0 While(num != 100): num = int(input(“input a number”)) print(“congratulation you enters a number greater than 100”)
@zeeskhan5661
@zeeskhan5661 2 жыл бұрын
6:26 - harry bhai mera program ye hai: num = int(input("Enter a number: ")) while True: if num < 100: num= int(input("Enter a number: ")) elif num > 100: print("Congratulations for writing a number bigger than 100!") break else: print("You type number 100!") break
@freakopofficial5596
@freakopofficial5596 3 жыл бұрын
while(True): i=int(input("enter number:")) if i
@kazimkaleri1299
@kazimkaleri1299 2 жыл бұрын
Best coding channel evevr.......
@rinkumeena7240
@rinkumeena7240 2 жыл бұрын
while True: o=int(input("give me value")) if o>100: print("congratulatio you have reached 100lvl") break
@AdityaSingh-ex4bn
@AdityaSingh-ex4bn 3 жыл бұрын
6:29 while(True): print("Enter a number:") n = int(input()) if n
@dhruvanand9773
@dhruvanand9773 3 жыл бұрын
Harry bhaiya iska thumbnail sbse op hai 🤠🤠
@sanasaleem4737
@sanasaleem4737 3 жыл бұрын
6:25 while(True): num = int(input("Enter your number: ")) if num < 100: print("try again") elif num > 100: print("you win") break
@masoomladka8170
@masoomladka8170 3 жыл бұрын
8:41 while(True): num1=int(input("Enter a number--->")) if num1>=100: print("Congratulations....you entered a number greater than 100") break else: print("try again") continue
@yashrajkadam6878
@yashrajkadam6878 2 жыл бұрын
while(True): n=int(input("Enter a number")) if n>100: print("Congrats") break else: pass
@hamzamalik1949
@hamzamalik1949 3 жыл бұрын
while True: print("What's your number? ") inp1 = int(input()) if inp1 < 100: continue else: print("Congrats, you did it!") break
@vedantrane6392
@vedantrane6392 3 жыл бұрын
Donee Sirr # Program n = 0 print("Enter a number") while(True): n = n+1 m = int(input()) if m>=100: print("Congratulations you have entered a number which is greater than 100. Here stops the program.") break else: print("The number you entered is not greater than 100, so enter again.")
@karthikmudgal8410
@karthikmudgal8410 2 жыл бұрын
while (True): inp = int(input("Enter a Number")) if inp > 100: print("Congrats You printed a number greater than hundred") break else: print("Try Again") continue
@rickk3300
@rickk3300 3 жыл бұрын
6:30 while(True): a = int(input("Enter any number: ")) print("You have entered", a) if(a > 100): print("Congratulations, you have entered a number greater than 100") break
@skbappy
@skbappy 2 жыл бұрын
Your all of videos are soo halp full.Thanks for python videos
@ABHINAVSRIVASTAV
@ABHINAVSRIVASTAV 2 жыл бұрын
x = int(input("enter any number/n")) If(x
@horairahsaleem7616
@horairahsaleem7616 2 жыл бұрын
you know how to treat begineers very intelligent man
@NageshwarRTMehta
@NageshwarRTMehta 2 жыл бұрын
#quiz--> print no. till it is smaller than 100 when it exceeds from 100 , print "CONGRATULATIONS you reached 100 " n1 = 1 while 1 : print(n1,end= "\t") n1 = n1 +1 if n1 > 100: print(" CONGRATULATIONS you reached 100") break
@suraj8285
@suraj8285 2 жыл бұрын
print(" * * * * * Welcom to game greater than 100 * * * * *") while(True): i = int(input("Enter the Number = ")) if (i>100): print("* * * * * Conratulation you win * * * * *") else: print("Enter Again !!!")
@abhishekvashistha2398
@abhishekvashistha2398 2 жыл бұрын
Harry the saviour in coding
@parulsura9316
@parulsura9316 2 жыл бұрын
starting me code with harry jo aata h tuning ke saath bhut mast lagta h 😎
@divyanshbalodhi5642
@divyanshbalodhi5642 2 жыл бұрын
Mazaa aa gayaa sirji🙏
@khushalraiyani20
@khushalraiyani20 3 жыл бұрын
while("true"): print("enter the number greater than 100") num = int(input()) if num
@SL-jr9uh
@SL-jr9uh 3 жыл бұрын
i=int(input()) while i
@swapnildixit9330
@swapnildixit9330 3 жыл бұрын
this man is legend hats off brother
@hangon552
@hangon552 2 жыл бұрын
a = 100 while(True): b = int(input("Enter your Number > ")) if b>a: print("You win you enter number more than 100!!!") break
@sakalagamingyt3563
@sakalagamingyt3563 3 жыл бұрын
while True: user = int(input("Enter a number :")) if user >=100: print("You have successfully printed.") break else: print("PLEASE! Try Again!") continue
@saikhrisat6249
@saikhrisat6249 3 жыл бұрын
while(True): stor=int(input("Enter a Number:")) if stor>100: print("Congrulation!You did it :)")
@techlofiz
@techlofiz 2 жыл бұрын
#By my own while(True): user=int(input("enter your number ")) if user>100 or user==100: print("Congratulations! You are eligible for meeting with God") break else: print("Try Again!") continue
@kiankumar5529
@kiankumar5529 3 жыл бұрын
print("Guess a number to win ") print("enter a number: ") while(1): var1 = int(input()) if(var1>100): print("Congratulation! task completed") break else: print("try again!") continue
@ishtiaqahmed9829
@ishtiaqahmed9829 2 жыл бұрын
#Quiz: while(1): a = int(input("Enter a number: ")) if a>100: print("Congrats you entered a number which is greater than 100") break else: print("Sorry! Try Again") continue
@rohannikale
@rohannikale 3 жыл бұрын
i=100 while(True): a=int(input('enter: ')) if (ia: continue
@nitinkumaar
@nitinkumaar 3 жыл бұрын
while(True): Age = int(input("Enter your Age")) if Age90: print("You have entered invalid number") break else: print("You are selected for driving")
@15priyanshupratapsingh24
@15priyanshupratapsingh24 3 жыл бұрын
I did in simple way Print(“Write your number”) i=input() While(i100) Print(“Congo”) Break
@15priyanshupratapsingh24
@15priyanshupratapsingh24 3 жыл бұрын
**Correction i=int(input())
@hashim_khan12234
@hashim_khan12234 3 жыл бұрын
i=1 while(True): print("Enter your number") user_input = int(input()) if user_input=100: print("your result ", user_input) break i=i+1
@unknownsuperstarmanish7013
@unknownsuperstarmanish7013 3 жыл бұрын
while(True): a = 26 b = int(input("Guess the number")) if b > a: print("you guesed a gerater number") continue elif b < a: print("you guesed a smaller number") continue else: print("you guesed the number correctly") break
@engineeringsuggestions8408
@engineeringsuggestions8408 3 жыл бұрын
mai bhi lezy hu....aur expect karta hu aap bhi lazy hi honge.........heart touching line bhaiya >_
@GouravChalotra01
@GouravChalotra01 3 жыл бұрын
i=0 while True: a=int(input('enter the number')) if a100: break
@itspitchie135
@itspitchie135 2 жыл бұрын
while (True): i = int(input("Write down a number ")) if i101: break print("Congratulations you have reached above 100")
@aryankalra1358
@aryankalra1358 3 жыл бұрын
while(True): num = int(input("Please enter a number ")) if (num < 100): print("TRY AGAIN") else: print("Congratula! you have entered a number greater than 100") break
@shreeji114
@shreeji114 2 жыл бұрын
while (True): v = int(input("enter your num")) if v= 100: print("you are type the correct number") break
@tanushpal769
@tanushpal769 3 жыл бұрын
num=int(input("Enter a number:")) while(num>0): if num>100: print("Your number is correct") break if num==100: num=num+1 print(num) break num=num+1 print(num,end=' ')
@mbjrakin4251
@mbjrakin4251 3 жыл бұрын
while True : i = int(input("enter a Number ")) if i100 : print("Congrats sir you have done it") break
@programmingwithraahim
@programmingwithraahim 3 жыл бұрын
while(True): var1=int(input("Enter a number ")) if var1>100: print("congrats you have guessed correctly") break else: print("Try again!!!!!") continue Mariam Rizwan from Pakistan
@crazy_movserclips2979
@crazy_movserclips2979 3 жыл бұрын
while(True): k=int(input("enter the number: ")) if(k100): exit()
@APNAROCKYYTLIVE
@APNAROCKYYTLIVE 2 жыл бұрын
The time when he said See you next time That was awesome
@testingapplications1434
@testingapplications1434 3 жыл бұрын
print("Enter user input ") in_num = int(input()) while in_num < 100: print("Entered number is less than 100", in_num) break else: print("Entered number is greater than 100, hence stopping loop")
@abhishekraj320
@abhishekraj320 3 жыл бұрын
while True: user=input("Enter a number ") if int(user)>100: print("Congrats you lost. :-)") break
@utkarshanand6270
@utkarshanand6270 2 жыл бұрын
n=18 while(True): a = int(input("Enter a number")) if a>n: print("number is greater than the correct guess") continue elif a
@Youdroppedthatbro
@Youdroppedthatbro 2 жыл бұрын
6:20 problem solution if True: while True: a = int(input("enter your number > 100 : ")) if a=99: break print("congrats you entered above then 100")
@FarhanAli-pk1lf
@FarhanAli-pk1lf 3 жыл бұрын
i am a 12th standard student and love to code & YOU R my inspiration, well this is my code print('enter 2 numbers so that their multiple is more than 30') while(1): n1=int(input('enter the 1st no.')) n2=int(input('enter the 2nd no.')) result=n1*n2 if (result
@ravindrathakur4563
@ravindrathakur4563 3 жыл бұрын
Good
@deepakbaghel3686
@deepakbaghel3686 3 жыл бұрын
print("Enter any number you want") a = 0 while a < 100: a = int(input()) if a > 100: print("Congrats you enterd number greater than 100")
@naveenes6181
@naveenes6181 3 жыл бұрын
while(int(input("Enter a number less than 100, if input greater than 100 then loop exited: "))100): break
break and continue Statements in Python
16:49
Neso Academy
Рет қаралды 14 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,8 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
If Else Conditional Statements in Python | Python Tutorial - Day #14
19:27
Python for Beginners - Learn Coding with Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 19 МЛН