View Pit Stop page for race #33 by atthetop — Ghost race
View profile for Shoemaker-Levy 9 (atthetop)
Official speed | 75.47 wpm (56.29 seconds elapsed during race) |
---|---|
Race Start | October 31, 2018 11:42:54pm UTC |
Race Finish | October 31, 2018 11:43:50pm UTC |
Outcome | No win (2 of 2) |
Opponents |
1. styrofoam (76.33 wpm) |
Accuracy | 96.0% |
Points | 80.51 |
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 |