View Pit Stop page for race #7 by ninja_h2 — Ghost race
Official speed | 65.67 wpm (70.90 seconds elapsed during race) |
---|---|
Race Start | September 4, 2022 8:30:38am UTC |
Race Finish | September 4, 2022 8:31:49am UTC |
Outcome | Win (1 of 3) |
Accuracy | 95.0% |
Points | 70.05 |
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 |