View Pit Stop page for race #3 by aaakribane131 — Ghost race
View profile for Zak938 (aaakribane131)
Official speed | 50.52 wpm (92.16 seconds elapsed during race) |
---|---|
Race Start | July 5, 2023 3:45:23pm UTC |
Race Finish | July 5, 2023 3:46:55pm UTC |
Outcome | Win (1 of 3) |
Accuracy | 97.0% |
Points | 53.89 |
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 |