I want my code to be repeated until the player guesses correctly.
ghuess=input("state a number between 1-100") if ghuess>number: print "
For a solution without a break:
break
isFound = False while not isFound: ghuess=input("state a number between 1-100") if ghuess>number: print "too high try again!" elif ghuess