import random n = random.randint(1, 99) guess = int(raw_input("Enter an integer from 1 to 99: ")) while n != "guess": print if guess < n: print "guess is low" guess = int(raw_input("Enter an integer from 1 to 99: ")) elif guess > n: print "guess is high" guess = int(raw_input("Enter an integer from 1 to 99: ")) else: print "you guessed it!" break print
| Game | Time | WPM | Accuracy |
|---|---|---|---|
| 125 | 2025-05-09 17:02:30 | 25.59 | 94.8% |
| 83 | 2025-01-17 17:57:38 | 32.39 | 96.1% |