View Pit Stop page for race #1 by jiali_ — Ghost race
Official speed | 49.08 wpm (94.87 seconds elapsed during race) |
---|---|
Race Start | March 5, 2024 8:44:31am UTC |
Race Finish | March 5, 2024 8:46:06am UTC |
Outcome | No win (2 of 2) |
Opponents |
1. ravesplash (51.71 wpm) |
Accuracy | 96.0% |
Points | 52.35 |
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 |