Race Result Details |
Racer | Jasel (jas_el1) |
Race Number | 12 |
Date | Mon, 30 Jun 2025 1:22:59 |
Universe | code |
Speed |
43 WPM
![]() |
Accuracy | 93.9% |
Rank | 1st place (out of 8) |
Opponents | beltran_tarqui (2nd place) erick_vargas (5th place) jhonny_ct (4th place) liz_mariela (6th place) nessa2 (8th place) samiraarancibia123426 (7th 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)
|