Race Result Details |
Racer | Jasel (jas_el1) |
Race Number | 19 |
Date | Mon, 30 Jun 2025 1:46:51 |
Universe | code |
Speed |
24 WPM
![]() |
Accuracy | 92.3% |
Rank | 5th place (out of 5) |
Opponents | erick_vargas (2nd place) nessa2 (4th 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)
|