View Pit Stop page for race #5 by ninja_h2 — Ghost race
Official speed | 62.92 wpm (74.00 seconds elapsed during race) |
---|---|
Race Start | September 4, 2022 8:25:38am UTC |
Race Finish | September 4, 2022 8:26:52am UTC |
Outcome | No win (2 of 2) |
Accuracy | 94.0% |
Points | 67.11 |
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 |