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 |
---|---|---|---|---|
1120. | Nathan (baynay) | 41.87 | 98% | 2025-01-30 |
1121. | krishna arun singh (krishna... | 41.85 | 93.2% | 2024-12-22 |
1122. | matuush (matuush) | 41.81 | 94% | 2023-09-28 |
1123. | Antonin (alain_akimbo) | 41.77 | 95% | 2025-02-12 |
1124. | YAZ (yazaitee) | 41.76 | 93% | 2024-08-13 |
1125. | Boy Wonder (coding_ninja) | 41.69 | 96% | 2023-07-12 |
1126. | Krampus (betawa) | 41.65 | 95% | 2023-06-15 |
1127. | Bijoy (bijoy022_) | 41.57 | 96% | 2024-09-03 |
1128. | Sarah (smm2319) | 41.56 | 94% | 2024-05-28 |
1129. | Johan7205 (joze7205) | 41.53 | 97.9% | 2023-11-04 |
1130. | tormentedBishop (cerealkill... | 41.50 | 93% | 2025-02-05 |
1131. | alif (alifoliah) | 41.43 | 94% | 2023-08-15 |
1132. | DaiyanNoory (dahy) | 41.35 | 95% | 2024-01-28 |
1133. | Adry (adryghost) | 41.34 | 97% | 2025-02-27 |
1134. | ahmed fahad (afk_43) | 41.30 | 96% | 2025-04-19 |
1135. | Hope (hopeinaguy) | 41.23 | 95% | 2025-02-21 |
1136. | Chanelle (nelle_son) | 41.22 | 99% | 2023-06-29 |
1137. | Yasin (silznce) | 41.20 | 94% | 2023-06-13 |
1138. | John (john314something) | 41.18 | 95% | 2025-02-03 |
1139. | nextpaper (nextpaper) | 41.17 | 97% | 2023-07-18 |
1140. | K1dz (ayla_k1dz) | 41.16 | 100% | 2024-09-30 |
1141. | Ayden (agentaydey) | 41.14 | 95% | 2023-08-26 |
1142. | Aiko (aiko_1) | 41.08 | 94% | 2023-08-16 |
1143. | Ivan (sakhman) | 41.07 | 94% | 2023-09-20 |
1144. | Ray (rebirth_21) | 41.05 | 96% | 2024-01-14 |
1145. | fastBoi (nyom_boi) | 41.01 | 95% | 2024-05-06 |
1146. | KEN (kent_type) | 40.96 | 96% | 2023-08-19 |
1147. | Drowning (kobisherm) | 40.96 | 96% | 2023-06-07 |
1148. | Fryyed (fryyedup) | 40.95 | 94% | 2023-09-28 |
1149. | Edward (hellogachip) | 40.94 | 96% | 2024-02-14 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |