Guess the number game using python

 while(True):

    n=int(input("guess your number between 0 and 10"))
if 0<n<5:
print("thoda bada")
continue
elif n==5:
print("you got me")
break
elif n>5:
print("thoda chota")
continue
here, I have given a code in python which is actually a fun game where you have to guess a 
number between 1 to 10 and and if you guess it right, you win also you get unlimited guesses
in this game although you need max to max 10 of them:-).

Comments