Race Result Details |
Racer | Augusto Aguilar (fa1progra) |
Race Number | 20 |
Date | Tue, 20 May 2025 22:28:36 |
Universe | code |
Speed |
35 WPM
![]() |
Accuracy | 91.4% |
Rank | 3rd place (out of 16) |
Opponents | alvaro__ (5th place) erick0334 (2nd place) jgary199 (9th place) jhony99 (10th place) jhosmarmamani (1st place) luis_univ (8th place) noelelias (7th place) souljin99 (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)
|