View Pit Stop page for race #28 by daniel3131 — Ghost race
View profile for daniel3131 (daniel3131)
Official speed | 79.08 wpm (53.72 seconds elapsed during race) |
---|---|
Race Start | October 16, 2019 2:10:02pm UTC |
Race Finish | October 16, 2019 2:10:56pm UTC |
Outcome | No win (2 of 3) |
Accuracy | 96.0% |
Points | 84.35 |
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 |