while loop
while loop
##while i<=10:
## print(i,end =" ")
## i +=1
##import random
##target =random.randint(1,100)
##guess =None
##while guess !=target:
## guess =int(input("guess the number(1-100):"))
## if guess<target:
## print("too low!")
## elif guess >target:
## print("too high!")
## else:
## print("you guessed it!")
##num=int(input("enter a number"))
##count=0
##while num>0:
## num//=10
## count+=1
##print("Number of digits:",count)