Race Result Details |
Racer | Fanor (fanor) |
Race Number | 33 |
Date | Sun, 8 Jun 2025 0:44:19 |
Universe | code |
Speed |
41 WPM
![]() |
Accuracy | 96.4% |
Rank | 2nd place (out of 18) |
Opponents | alvarori (8th place) blizhte (7th place) eliasbaltazar (5th place) erick0334 (4th place) fa1progra (3rd place) jgary192 (10th place) jhony99 (13th place) jhosmar_carlos (1st place) magali_alanoca (11th place) marco_soria (9th place) mau_r123 (6th place) priscilacervantes23 (12th 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)
|