Race Result Details |
Racer | Misael Rocha (blizhte) |
Race Number | 24 |
Date | Tue, 10 Jun 2025 21:43:54 |
Universe | code |
Speed |
34 WPM
![]() |
Accuracy | 96.4% |
Rank | 5th place (out of 13) |
Opponents | alvarori (6th place) eliasbaltazar (7th place) erick0334 (2nd place) fanor (3rd place) jgary192 (9th place) jhony99 (10th place) marco_soria (8th place) mau_r123 (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)
|