Text #10018

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

Leaders

View ranks through of 1,979
Rank Username WPM Accuracy Date
719. nobin sutradhar (nobin_sutr... 53.10 97.4% 2024-12-13
720. Harsh (todorokishotoua15) 53.06 97% 2023-08-06
721. Turning 14 in 2 Weeks! (spe... 53.03 95% 2023-11-21
722. Une vie à peindre (badtype... 53.03 95% 2024-05-12
723. Ethan (ondoyant) 53.01 96% 2023-06-12
724. freecalls (freecalls) 52.99 97% 2024-06-09
725. Simi Agarwal (simiagarwal) 52.96 98% 2024-04-12
726. account deleted (concurrent) 52.94 95% 2020-03-18
727. Arif (arifali) 52.94 97.6% 2023-12-07
728. ichbin (ichbin) 52.89 93% 2023-07-10
729. Brian (briantang) 52.87 95% 2023-05-23
730. afads1 (dafishh47) 52.87 94% 2023-05-27
731. Johnson (_golden) 52.86 98% 2023-08-17
732. zukanoob (zukanoob) 52.86 94% 2024-11-04
733. Rui (trickyrlee) 52.85 96% 2024-05-20
734. mrgiorgoulis (mrgiorgoulis) 52.84 95% 2024-03-14
735. Yusei (yuseiguy) 52.82 96% 2023-10-03
736. dave9123 (dave992) 52.82 95% 2023-08-19
737. Sabrina (awesomer3) 52.79 94% 2023-05-29
738. Rishav (rishavmngo) 52.78 96% 2023-07-29
739. ARES Rey Andre (ares_reyandre) 52.73 98% 2023-07-21
740. Chirag Arora (chaggydev5528) 52.70 95% 2023-06-16
741. heythisistej (lucknumber8_alt) 52.66 96% 2021-07-30
742. Dan (danmece) 52.62 98% 2024-04-15
743. Lynne (lynne17) 52.61 97% 2025-05-02
744. Leaden Typer (typeryo) 52.60 96.2% 2024-04-27
745. Goku (rmehedi) 52.60 95.9% 2024-04-05
746. Hubert (hube04) 52.59 97% 2024-05-27
747. Kanishk (kanishk014) 52.57 95% 2024-02-14
748. Asif (asif04) 52.57 98.9% 2024-03-12

Universes

Universe Races Average WPM First Race
Coder Edition 6,022 59.33 October 3, 2018