Race Result Details |
| Racer | Danial (danialsmu) |
| Race Number | 2 |
| Date | Fri, 17 Oct 2025 8:45:35 |
| Universe | code |
| Speed |
61 WPM
Try to beat?
|
| Accuracy | 94.8% |
| Rank | 5th place (out of 5) |
| Opponents | coencidence (1st place) jansen52xd (3rd place) kayrazalfa (2nd place) tauporky (4th place) |
Text typed:
|
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
— (other)
by www.pythonforbeginners.com
(see stats)
|
