View Pit Stop page for race #18 by w_h_ — Ghost race
View profile for Shutaro (w_h_)
Official speed | 85.03 wpm (49.96 seconds elapsed during race) |
---|---|
Race Start | February 25, 2019 2:15:04pm UTC |
Race Finish | February 25, 2019 2:15:54pm UTC |
Outcome | No win (3 of 3) |
Opponents |
1. permil (99.20 wpm) 2. paraphrohn (98.56 wpm) |
Accuracy | 96.0% |
Points | 90.70 |
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 |