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
—from Guessing Game, a other by www.pythonforbeginners.com
Active since October 3, 2018.
388 total characters in this text.
View Pit Stop page for this text
Rank | Username | WPM | Accuracy | Date |
---|---|---|---|---|
840. | Mohamed (normal_eg) | 49.40 | 96% | 2023-09-27 |
841. | rainbowmeh (rainbowmeh_) | 49.38 | 93% | 2023-07-02 |
842. | vinobien (vinobien) | 49.30 | 96% | 2023-10-09 |
843. | MBT (mbt2012) | 49.29 | 93.4% | 2024-10-16 |
844. | Cooper (coopy498) | 49.26 | 95% | 2023-07-24 |
845. | Eugene (havlong) | 49.23 | 94.3% | 2023-12-19 |
846. | Maksim (kepptix) | 49.22 | 93% | 2024-05-14 |
847. | Nacca (nacca47) | 49.22 | 93% | 2023-10-22 |
848. | PonyTail (p0nytail) | 49.17 | 97.2% | 2024-03-01 |
849. | Amit (amitkumariitm) | 49.14 | 95% | 2025-03-11 |
850. | Daniel (dani_k123) | 49.13 | 94% | 2024-09-24 |
851. | C (stowellcm) | 49.11 | 99% | 2024-07-29 |
852. | Tushar (dark_thunder) | 49.09 | 96% | 2023-09-20 |
853. | ✿ (jiali_) | 49.08 | 96% | 2024-03-05 |
854. | Mudassar (mudasarmajeed5) | 49.08 | 95.3% | 2024-10-31 |
855. | Hugo (paulz_420) | 49.06 | 93.7% | 2025-01-29 |
856. | hack89 (hack89) | 49.03 | 98% | 2022-01-31 |
857. | karim (new_function7785) | 49.03 | 94% | 2023-06-08 |
858. | JulyWitch (julywitch) | 49.01 | 94% | 2023-12-25 |
859. | Prakhar (prakhartyper) | 49.01 | 96% | 2024-03-03 |
860. | Alfred (alfredwellington) | 48.98 | 96% | 2023-08-09 |
861. | pietro (pacciani16) | 48.93 | 94% | 2023-07-27 |
862. | Jasjit (jasjit) | 48.89 | 94% | 2023-07-14 |
863. | 🔻Youssef San (youssefsan... | 48.80 | 93% | 2024-05-05 |
864. | Elizabeth (elizabethwei) | 48.79 | 95% | 2018-12-05 |
865. | PAKISTAN (mirtyping) | 48.73 | 96.4% | 2025-02-25 |
866. | Nick (mitchen2) | 48.58 | 94% | 2023-07-15 |
867. | Leon (seorsxm) | 48.57 | 93% | 2024-11-18 |
868. | Nadie (nadie3) | 48.54 | 97% | 2023-12-31 |
869. | BTY (oscarwong91) | 48.52 | 95% | 2023-06-18 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |