View Pit Stop page for race #25 by da_xiao_jin_dou — Ghost race
View profile for Feng (da_xiao_jin_dou)
Official speed | 24.09 wpm (193.28 seconds elapsed during race) |
---|---|
Race Start | February 28, 2022 10:55:55pm UTC |
Race Finish | February 28, 2022 10:59:09pm UTC |
Outcome | Win (1 of 2) |
Accuracy | 94.0% |
Points | 25.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 |