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

preview_player
Показать описание


Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

while(1):
i = int(input("Please enter a number\n"))
if (i < 100):
print("TRY AGAIN!!!")
continue
else:
print("Congratulations! you have entered a number greater than 100")
break

GauravKariya
Автор

break and continue by getting user input

while("true"):
print("enter the number greater than 100")
num = int(input())
if num<=100:
print("greater than means 100 se bada beta")
else:
print("badhaye ho aapko you have printed number more than 100")
break
input("bingo")

freejobawares
Автор

one like for telling again and aging for playlist its reflect care :)

supritmangde
Автор

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.

landarmygaming
Автор

while(1):
inp = int(input("chl be ek number daal:-\n"))
if inp>100:
print("dimaag to hai tere mai")
break
else:
print("pagal hai kya :)")
continue

okyt
Автор

i=int(input("the element"))
while(True):
if i<100:
i=i+1
continue

if(i>100):
print("thank you")
break

mananjain
Автор

most valuable channel for CSE students. Thank you Harry bhai..

Vishalmishra-
Автор

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 !

gautampubreja
Автор

# 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!!

deepagusain
Автор

while(True):
i = int(input("Enter a Number: \n"))

if i>100:
print("Congratulations! You have won the game.")
break
else:
print("Try Again!")

javedakhtar
Автор

while True:
a = int(input('Enter a number\n'))
if a <= 100:
print('I am giving you one more chance, try again!')
continue
else:
print('Congo you have entered a number greater than 100')
break

vaibhavmishra
Автор

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\n")
break
else:
print("try again! \n")
continue

shubhamsahu
Автор

while(True):
var_1= int(input('enter a number\n: '))
if var_1>100:
print ('congratulations you can entered number which is greater than 100')
break
else:
print ('please try again')
continue

mega-robotff
Автор

print("enter a random number")
c = int(input())
if c>=100:
print(c, "is valid")

while (c<=100):
print("Error input another number")
c = int(input())
print(c, "is valid")

zephnqn
Автор

While True:
Number = input("Enter a number:-. ")
If Number>100:
break

KhannaSparsh
Автор

#By my own
while(True):
user=int(input("enter your number\n"))
if user>100 or user==100:
print("Congratulations!\nYou are eligible for meeting with God")
break
else:
print("Try Again!")
continue

puranjanics
Автор

#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("\nCONGRATULATIONS you reached 100")
break

NageshwarRTMehta
Автор

"""
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):
if 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.")

vipultewariibm
Автор

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

krishnagoyal
Автор

hey bro, i am a mechanical engineer trying to get in to programming and your videos are helping me a lot.Thanks

divyaprakashks
visit shbcf.ru