View Pit Stop page for race #30 by sidd_ — Ghost race
Official speed | 112.33 wpm (37.82 seconds elapsed during race) |
---|---|
Race Start | January 2, 2019 1:35:35am UTC |
Race Finish | January 2, 2019 1:36:13am UTC |
Outcome | Win (1 of 2) |
Opponents |
2. camtypez (32.09 wpm) |
Accuracy | 98.0% |
Points | 119.82 |
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 |