View Pit Stop page for race #41 by smtchahal2 — Ghost race
View profile for Sumit (smtchahal2)
Official speed | 93.85 wpm (50.38 seconds elapsed during race) |
---|---|
Race Start | September 13, 2021 6:54:24pm UTC |
Race Finish | September 13, 2021 6:55:14pm UTC |
Outcome | No win (3 of 3) |
Accuracy | 97.0% |
Points | 100.10 |
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 |