View Pit Stop page for race #25 by concurrent — Ghost race
View profile for account deleted (concurrent)
Official speed | 48.32 wpm (87.91 seconds elapsed during race) |
---|---|
Race Start | January 19, 2020 2:59:03pm UTC |
Race Finish | January 19, 2020 3:00:31pm UTC |
Outcome | No win (3 of 3) |
Accuracy | 95.0% |
Points | 51.55 |
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 |