View Pit Stop page for race #50 by adames4 — Ghost race
View profile for Adam (adames4)
Official speed | 55.31 wpm (84.18 seconds elapsed during race) |
---|---|
Race Start | June 10, 2023 4:44:03pm UTC |
Race Finish | June 10, 2023 4:45:27pm UTC |
Outcome | Win (1 of 3) |
Accuracy | 95.0% |
Points | 58.99 |
Text | #10018 (Length: 388 characters) 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 |