View Pit Stop page for race #162 by divyanshu_m007 — Ghost race
View profile for divyanshu maurya (divyanshu_m007)
Official speed | 25.37 wpm (183.52 seconds elapsed during race) |
---|---|
Race Start | July 14, 2023 8:11:58am UTC |
Race Finish | July 14, 2023 8:15:01am UTC |
Outcome | Win (1 of 3) |
Accuracy | 95.0% |
Points | 27.06 |
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 |