View Pit Stop page for race #126 by kinesis_quake — Ghost race
View profile for Kinesis (kinesis_quake)
Official speed | 95.22 wpm (48.90 seconds elapsed during race) |
---|---|
Race Start | January 24, 2024 12:40:42pm UTC |
Race Finish | January 24, 2024 12:41:31pm UTC |
Outcome | No win (2 of 3) |
Accuracy | 99.0% |
Points | 101.57 |
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 |