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 |
---|---|---|---|---|
1723. | es_car_go (es_car_go) | 27.34 | 91% | 2023-07-19 |
1724. | alihamzaPk (alihamza_pk) | 27.32 | 90% | 2023-08-15 |
1725. | kenshin (kenshin_theja) | 27.31 | 94% | 2023-08-09 |
1726. | Enock (enockmutanga01) | 27.29 | 97% | 2024-08-29 |
1727. | Arman Arif (ravvad) | 27.22 | 92.9% | 2023-11-26 |
1728. | Os (patronz) | 27.20 | 95% | 2023-09-27 |
1729. | tstats[bobfish] (bobfish) | 27.13 | 92% | 2023-09-06 |
1730. | TypeSquid (typesquid) | 27.10 | 93% | 2024-09-14 |
1731. | rooh (roohullah) | 27.08 | 92% | 2025-02-20 |
1732. | Ashaz (ashazadil) | 27.05 | 96% | 2025-05-20 |
1733. | Luca (luka_pezzolo) | 27.00 | 92% | 2023-05-30 |
1734. | eEyeTeeAy (eeyeteeay) | 26.97 | 95% | 2023-07-08 |
1735. | 3ntel EL_m7la (ha_yo) | 26.95 | 91% | 2025-01-29 |
1736. | mdogza (mdogza) | 26.93 | 99% | 2023-09-13 |
1737. | mak (makmak2) | 26.90 | 93% | 2024-09-25 |
1738. | xuxu (xuxusapin) | 26.87 | 96% | 2024-05-01 |
1739. | anycode (anycode) | 26.85 | 97.9% | 2024-05-02 |
1740. | Krishna (kingofxpbp) | 26.85 | 97% | 2025-01-29 |
1741. | Debraj (debraj_2438) | 26.83 | 93% | 2024-02-28 |
1742. | ini deana (deanaputra) | 26.78 | 92% | 2024-03-25 |
1743. | Nick (nickrin) | 26.75 | 94.9% | 2023-08-24 |
1744. | blaxk (deadman962011) | 26.53 | 92% | 2023-07-01 |
1745. | Kamlesh (kamlesh504) | 26.52 | 91% | 2024-04-28 |
1746. | AIA QT (vinn1) | 26.50 | 93% | 2024-12-09 |
1747. | irshad (irshad_makrani) | 26.45 | 93% | 2023-05-27 |
1748. | ART Claudine (artemis_claud... | 26.41 | 96% | 2023-07-21 |
1749. | @Ghost (avenger_akr) | 26.38 | 94% | 2023-06-13 |
1750. | MM (maclema) | 26.35 | 92.7% | 2023-10-15 |
1751. | Ahmad (ahmadreza22) | 26.34 | 93% | 2023-10-20 |
1752. | Aizhana (akh8888) | 26.33 | 96% | 2023-06-23 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |