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