Race Result Details |
Racer | Fátima (nessa2) |
Race Number | 47 |
Date | Mon, 30 Jun 2025 1:46:42 |
Universe | code |
Speed |
26 WPM
![]() |
Accuracy | 93.9% |
Rank | 4th place (out of 5) |
Opponents | erick_vargas (2nd place) jas_el1 (5th place) samiraarancibia123426 (1st 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)
|