View Pit Stop page for race #3 by accuracy_goddess — Ghost race
View profile for Nerd Typist (accuracy_goddess)
Official speed | 61.13 wpm (76.17 seconds elapsed during race) |
---|---|
Race Start | August 5, 2022 6:57:59pm UTC |
Race Finish | August 5, 2022 6:59:16pm UTC |
Outcome | No win (1 of 1) |
Accuracy | 97.0% |
Points | 65.21 |
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 |