View Pit Stop page for race #13 by altrocality_dvorak_acc — Ghost race
View profile for :( (altrocality_dvorak_acc)
Official speed | 75.65 wpm (61.55 seconds elapsed during race) |
---|---|
Race Start | January 6, 2023 7:47:22am UTC |
Race Finish | January 6, 2023 7:48:23am UTC |
Outcome | Win (1 of 3) |
Accuracy | 98.0% |
Points | 80.70 |
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 |