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 |
---|---|---|---|---|
1701. | MITRA.IBLIS (bede666ah) | 27.43 | 94% | 2024-03-21 |
1702. | Tanvi (citrus22) | 27.41 | 92% | 2023-07-06 |
1703. | jerocx (jerocx) | 27.39 | 97% | 2024-05-11 |
1704. | anastasis (firegun233) | 27.37 | 91% | 2023-06-19 |
1705. | Mokhtar (mukhktar) | 27.34 | 92% | 2024-04-27 |
1706. | es_car_go (es_car_go) | 27.34 | 91% | 2023-07-19 |
1707. | alihamzaPk (alihamza_pk) | 27.32 | 90% | 2023-08-15 |
1708. | kenshin (kenshin_theja) | 27.31 | 94% | 2023-08-09 |
1709. | Enock (enockmutanga01) | 27.29 | 97% | 2024-08-29 |
1710. | Arman Arif (ravvad) | 27.22 | 92.9% | 2023-11-26 |
1711. | Os (patronz) | 27.20 | 95% | 2023-09-27 |
1712. | tstats[bobfish] (bobfish) | 27.13 | 92% | 2023-09-06 |
1713. | TypeSquid (typesquid) | 27.10 | 93% | 2024-09-14 |
1714. | rooh (roohullah) | 27.08 | 92% | 2025-02-20 |
1715. | Ashaz (ashazadil) | 27.05 | 96% | 2025-05-20 |
1716. | Luca (luka_pezzolo) | 27.00 | 92% | 2023-05-30 |
1717. | eEyeTeeAy (eeyeteeay) | 26.97 | 95% | 2023-07-08 |
1718. | 3ntel EL_m7la (ha_yo) | 26.95 | 91% | 2025-01-29 |
1719. | mdogza (mdogza) | 26.93 | 99% | 2023-09-13 |
1720. | mak (makmak2) | 26.90 | 93% | 2024-09-25 |
1721. | xuxu (xuxusapin) | 26.87 | 96% | 2024-05-01 |
1722. | anycode (anycode) | 26.85 | 97.9% | 2024-05-02 |
1723. | Krishna (kingofxpbp) | 26.85 | 97% | 2025-01-29 |
1724. | Debraj (debraj_2438) | 26.83 | 93% | 2024-02-28 |
1725. | ini deana (deanaputra) | 26.78 | 92% | 2024-03-25 |
1726. | Nick (nickrin) | 26.75 | 94.9% | 2023-08-24 |
1727. | blaxk (deadman962011) | 26.53 | 92% | 2023-07-01 |
1728. | Kamlesh (kamlesh504) | 26.52 | 91% | 2024-04-28 |
1729. | AIA QT (vinn1) | 26.50 | 93% | 2024-12-09 |
1730. | irshad (irshad_makrani) | 26.45 | 93% | 2023-05-27 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |