Race Result Details |
| Racer | Fátima (nessa2) |
| Race Number | 39 |
| Date | Mon, 30 Jun 2025 1:23:49 |
| Universe | code |
| Speed |
28 WPM
Try to beat?
|
| Accuracy | 96.8% |
| Rank | 8th place (out of 8) |
| Opponents | beltran_tarqui (2nd place) erick_vargas (5th place) jas_el1 (1st place) jhonny_ct (4th place) liz_mariela (6th 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)
|
