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 |
---|---|---|---|---|
1742. | 3ntel EL_m7la (ha_yo) | 26.95 | 91% | 2025-01-29 |
1743. | Jo (jclynoseo) | 26.95 | 94% | 2023-05-24 |
1744. | mdogza (mdogza) | 26.93 | 99% | 2023-09-13 |
1745. | mak (makmak2) | 26.90 | 93% | 2024-09-25 |
1746. | xuxu (xuxusapin) | 26.87 | 96% | 2024-05-01 |
1747. | anycode (anycode) | 26.85 | 97.9% | 2024-05-02 |
1748. | Krishna (kingofxpbp) | 26.85 | 97% | 2025-01-29 |
1749. | Debraj (debraj_2438) | 26.83 | 93% | 2024-02-28 |
1750. | ini deana (deanaputra) | 26.78 | 92% | 2024-03-25 |
1751. | Nick (nickrin) | 26.75 | 94.9% | 2023-08-24 |
1752. | blaxk (deadman962011) | 26.53 | 92% | 2023-07-01 |
1753. | Kamlesh (kamlesh504) | 26.52 | 91% | 2024-04-28 |
1754. | AIA QT (vinn1) | 26.50 | 93% | 2024-12-09 |
1755. | irshad (irshad_makrani) | 26.45 | 93% | 2023-05-27 |
1756. | ART Claudine (artemis_claud... | 26.41 | 96% | 2023-07-21 |
1757. | @Ghost (avenger_akr) | 26.38 | 94% | 2023-06-13 |
1758. | MM (maclema) | 26.35 | 92.7% | 2023-10-15 |
1759. | Ahmad (ahmadreza22) | 26.34 | 93% | 2023-10-20 |
1760. | Aizhana (akh8888) | 26.33 | 96% | 2023-06-23 |
1761. | Lex (imlex808) | 26.33 | 95% | 2024-05-20 |
1762. | Michael (tricky_01) | 26.28 | 94% | 2024-07-26 |
1763. | Khan Mohd Asif (er_asif318) | 26.25 | 94% | 2024-01-25 |
1764. | adi (nogoevadi) | 26.19 | 89.5% | 2024-09-18 |
1765. | Kudo ghoul (kudoghoulboy) | 26.15 | 98% | 2024-09-21 |
1766. | Greg (divisive2) | 26.12 | 92% | 2024-10-12 |
1767. | Kaloyan (mskalo) | 26.12 | 94% | 2023-09-13 |
1768. | Indratik Harisnanda (harisn... | 26.00 | 95% | 2024-07-18 |
1769. | Abby (abbylnc) | 25.99 | 92% | 2023-08-30 |
1770. | salaheddine (salaheddine2002) | 25.98 | 93% | 2023-07-14 |
1771. | Omar Ahmed Nassar (omar29) | 25.90 | 91% | 2023-09-29 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |