Race Updates Discord About Merch
Home Profile History Competitions Texts Messages Friends Upgrade

typeracer

Pit Stop

Record your races with a typeracer account:

Create Your Account
  • Save your race history and scores.
  • Customize your profile and racecar.
  • It’s free, why not?
Racer A (_akshaya)
Race Number 1
Date Thu, 24 Oct 2024 13:37:56 +0000
Universe code
Speed 13 WPM Try to beat?
Accuracy 89.1%
Rank 3rd place (out of 3)

Text typed:

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
Guessing Game (other) by www.pythonforbeginners.com (see stats)

Typing Review:

Race text:
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
Time:
0:00
Speed:
Accuracy:
Typing replay:
Analysis:
Mistakes:
  1. import
  2. random.randint(1,
  3. 99)
  4. guess
  5. =
  6. int(raw_input("Enter
  7. integer
  8. 1
  9. 99:
  10. "))
  11. !=
  12. "guess":
  13. guess
  14. print
  15. "guess
  16. int(raw_input("Enter
  17. an
  18. integer
  19. from
  20. 1
  21. to
  22. 99:
  23. "))
  24. >
  25. "guess
  26. high"
  27. guess
  28. int(raw_input("Enter
  29. 1
  30. to
  31. it!"
  32. break
  33. print