Race Result Details |
| Racer | samiraarancibia (samiraarancibia123426) |
| Race Number | 153 |
| Date | Mon, 30 Jun 2025 1:45:52 |
| Universe | code |
| Speed |
37 WPM
Try to beat?
|
| Accuracy | 93.8% |
| Rank | 1st place (out of 5) |
| Opponents | erick_vargas (2nd place) jas_el1 (5th place) nessa2 (4th place) sharick_chungara (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)
|
