View Pit Stop page for race #145 by sidd_ — Ghost race
Official speed | 119.47 wpm (35.56 seconds elapsed during race) |
---|---|
Race Start | February 16, 2019 5:55:52am UTC |
Race Finish | February 16, 2019 5:56:28am UTC |
Outcome | Win (1 of 4) |
Opponents |
2. deroche1 (114.36 wpm) 3. arc_sec (100.46 wpm) 4. delirious (97.53 wpm) |
Accuracy | 98.0% |
Points | 127.44 |
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 |