Race Result Details |
Racer | Fátima (nessa2) |
Race Number | 29 |
Date | Sat, 28 Jun 2025 1:19:45 |
Universe | code |
Speed |
27 WPM
![]() |
Accuracy | 95.5% |
Rank | 3rd place (out of 6) |
Opponents | ariane_salazar (2nd place) maria_ortega10 (1st place) marite1 (4th place) sarai_vega012 (5th 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)
|