Race Result Details |
Racer | marco soria (marco_soria) |
Race Number | 6 |
Date | Tue, 10 Jun 2025 21:44:19 |
Universe | code |
Speed |
28 WPM
![]() |
Accuracy | 94.4% |
Rank | 8th place (out of 13) |
Opponents | alvarori (6th place) blizhte (5th place) eliasbaltazar (7th place) erick0334 (2nd place) fanor (3rd place) jgary192 (9th place) jhony99 (10th 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)
|