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 |
---|---|---|---|---|
169. | Anthony (apmeyer27) | 75.87 | 98% | 2023-06-28 |
170. | plop (ploppiplop) | 75.77 | 97% | 2023-07-10 |
171. | Conspiracy (realkingofgames) | 75.71 | 98% | 2023-06-07 |
172. | :( (altrocality_dvorak_acc) | 75.65 | 98% | 2023-01-06 |
173. | Warden (warden7383) | 75.63 | 97% | 2023-06-19 |
174. | CloudJuic3 (stormgamer25) | 75.52 | 97.2% | 2023-10-07 |
175. | Jackson (london_enjoyer) | 75.44 | 98% | 2023-07-22 |
176. | Padraig (plawlor16) | 75.28 | 96.5% | 2023-10-13 |
177. | Diego (diegoalexander) | 75.28 | 96% | 2024-06-22 |
178. | Othmane (boumediane1) | 75.26 | 98% | 2023-06-18 |
179. | vincent (vinkwok) | 75.13 | 96% | 2023-09-29 |
180. | cole (socol) | 75.11 | 97% | 2024-07-21 |
181. | CheetahDude (ghysdd) | 75.10 | 97% | 2023-08-02 |
182. | sang (shatoboar) | 75.06 | 97% | 2024-08-27 |
183. | xd (spartan_) | 74.69 | 96% | 2023-08-13 |
184. | John (craftinpark) | 74.64 | 98% | 2023-05-30 |
185. | Youssef (sec5x) | 74.12 | 96% | 2022-12-30 |
186. | Abby (aeheffington) | 74.09 | 98% | 2023-02-10 |
187. | ILOVEISRAEL (vulturegang) | 73.91 | 97% | 2023-12-11 |
188. | King John Smith III (parado... | 73.68 | 98% | 2024-01-04 |
189. | K (ufomi) | 73.48 | 95% | 2024-01-10 |
190. | Luka (the_lukec) | 73.39 | 98% | 2023-06-04 |
191. | Mikhail (mayham92) | 73.32 | 98% | 2022-01-27 |
192. | Daniel (siichotic) | 73.28 | 96% | 2022-07-08 |
193. | Fai (fymf114) | 73.27 | 98% | 2023-07-04 |
194. | ChK (chkg2a) | 73.27 | 97.4% | 2024-03-11 |
195. | michael (mikul) | 73.20 | 97% | 2023-05-01 |
196. | Eibwen (elbwen) | 72.98 | 95% | 2024-08-27 |
197. | iotku (iotku) | 72.97 | 98% | 2023-06-18 |
198. | joe (jvd33) | 72.92 | 96% | 2019-12-29 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 4,555 | 62.64 | October 3, 2018 |