Race Result Details |
| Racer | Sergio Deybit Colque berazain (zzdroxbazz) |
| Race Number | 12 |
| Date | Mon, 21 Oct 2024 2:28:46 |
| Universe | code |
| Speed |
31 WPM
Try to beat?
|
| Accuracy | 94% |
| Rank | 1st place (out of 12) |
| Opponents | jos3ar (2nd place) karol_mm (6th place) kazaam37 (4th place) mau_r_1 (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)
|
