View Pit Stop page for race #164 by sidd_ — Ghost race
Official speed | 128.92 wpm (32.95 seconds elapsed during race) |
---|---|
Race Start | July 20, 2019 8:23:30pm UTC |
Race Finish | July 20, 2019 8:24:02pm UTC |
Outcome | Win (1 of 4) |
Opponents |
2. keegant (102.65 wpm) 3. storm (71.31 wpm) 4. hyper_racer (66.89 wpm) |
Accuracy | 99.0% |
Points | 137.52 |
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 |