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 |
---|---|---|---|---|
1640. | ZH Zaidi (jimmy110) | 30.03 | 96% | 2023-05-25 |
1641. | bishwas dhakal (bdhakal) | 29.99 | 95% | 2024-02-05 |
1642. | t11h (t111h) | 29.99 | 95% | 2022-02-09 |
1643. | Sne (clueless_af) | 29.99 | 98% | 2023-06-13 |
1644. | codmasterops (codmasterops) | 29.93 | 91% | 2024-02-22 |
1645. | jenueyz (jenuey_z) | 29.83 | 93% | 2024-07-05 |
1646. | vasu (vaszu) | 29.79 | 94% | 2023-07-14 |
1647. | João (jaaaao) | 29.76 | 94% | 2023-07-24 |
1648. | demonlord (demonlord221) | 29.74 | 90% | 2024-06-28 |
1649. | hamza (hamza_typo) | 29.70 | 92% | 2024-06-30 |
1650. | Maria Betzabe Ortega Soto (... | 29.69 | 94% | 2024-06-09 |
1651. | Sanket Kakade (sanket07) | 29.68 | 94% | 2023-12-05 |
1652. | ju (jjuly) | 29.67 | 93% | 2024-03-24 |
1653. | Tayyab (tayyabrawat1) | 29.63 | 94% | 2024-09-25 |
1654. | jj (isuckat_typing2407) | 29.59 | 95% | 2023-08-18 |
1655. | Linis (linis) | 29.54 | 93.1% | 2023-11-10 |
1656. | sango (sango2up) | 29.53 | 92% | 2024-10-11 |
1657. | Hazel (lilhazel) | 29.50 | 95% | 2025-03-31 |
1658. | Magdy (magdywafik) | 29.43 | 94% | 2023-11-09 |
1659. | Dave (thewave91) | 29.38 | 98.6% | 2024-09-28 |
1660. | Jeruk (tuntunn) | 29.33 | 95% | 2024-08-01 |
1661. | Daksi (daksi02) | 29.29 | 94% | 2024-01-26 |
1662. | Austin (nitsuafire) | 29.23 | 94% | 2023-08-16 |
1663. | izzy (izzyskills) | 29.20 | 93% | 2023-06-16 |
1664. | Eli (phntm) | 29.15 | 94% | 2024-09-13 |
1665. | Jufrisal Humairi (nooby06) | 29.14 | 92% | 2024-10-24 |
1666. | pinktape (funnybutpink) | 29.12 | 96% | 2023-07-25 |
1667. | Kedin (ke_dinn) | 29.07 | 96% | 2024-03-25 |
1668. | Leonardo Bautista (leonardo09) | 29.03 | 95% | 2024-10-16 |
1669. | iKelsio (ikelsio) | 28.99 | 97% | 2023-08-01 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |