Race Result Details |
| Racer | Fátima (nessa2) |
| Race Number | 72 |
| Date | Wed, 10 Sep 2025 22:11:46 |
| Universe | code |
| Speed |
29 WPM
Try to beat?
|
| Accuracy | 96.7% |
| Rank | 3rd place (out of 9) |
| Opponents | brayancoaquira (7th place) fanor (1st place) freddytarqui (4th place) iverjoel (5th place) jhamelpinto (2nd place) leonardo_espada (6th 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)
|
