while loop in python




i = 0
while (i<34):
print(i)
print(i+1)
i = i + 1

#break and continue

i = 0
print (i)
while (True):
if i+1<5:
i = i + 1
continue
print (i+1,end =" ")
if i == 22:
break # stop the loop
i = i+1
 Question 
make a program in which when a person entre a number above 100 then programm says that
"greater than 100" and when a user enter a number equals to 100
then program says "equal to 100 and when user enter a number below 100 
then program says "you entered a number below 100"
while (True):
inp=int(input("enter your number\n"))

if inp>100:
print("congratulations you entered a number above 100")

break #this is used to stop

if inp<100:
print("your number is less than 100")

if inp==100:
print("your number is equals to 100")

else:
print("try again")

 continue