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 |
---|---|---|---|---|
294. | racer (dev_racer) | 69.21 | 97% | 2024-12-25 |
295. | joon (chariot_joon) | 69.16 | 96% | 2023-12-13 |
296. | dvorak :) (lauta70) | 69.11 | 97% | 2023-01-09 |
297. | Alex (alexklaus) | 69.06 | 98% | 2021-09-23 |
298. | sndx (sndyb) | 69.04 | 94% | 2023-10-07 |
299. | Nazif (negative_hp) | 69.04 | 95% | 2024-11-13 |
300. | Tom (demented329) | 69.01 | 95% | 2025-02-12 |
301. | zhm (keshi_lvr) | 69.01 | 94% | 2025-01-12 |
302. | Jake (jmill1125) | 68.89 | 96% | 2024-11-20 |
303. | Kaleb (kwainright) | 68.82 | 96% | 2023-06-02 |
304. | (pastashapes) | 68.64 | 96% | 2021-08-13 |
305. | Daniel (daniel_h212) | 68.64 | 97% | 2024-10-01 |
306. | Vishal Singh Adhikari (vizz... | 68.44 | 98.4% | 2024-03-25 |
307. | Roy (scaryroy) | 68.37 | 97% | 2024-07-20 |
308. | 01 (0011111) | 68.36 | 97% | 2023-10-10 |
309. | Ibrahim (ibrahimtyper) | 68.29 | 96% | 2024-07-24 |
310. | 000 (oknotok_) | 68.22 | 95% | 2023-07-24 |
311. | Vijay (vijays4404) | 68.15 | 97% | 2025-02-11 |
312. | slacker (slackerman) | 68.14 | 99% | 2024-04-25 |
313. | rex (rexwow) | 67.89 | 96% | 2023-07-07 |
314. | (anumon6395) | 67.76 | 97% | 2024-11-09 |
315. | Caleb (camostey) | 67.72 | 97% | 2025-03-31 |
316. | diamondreflect (diamondrefl... | 67.61 | 97.6% | 2024-05-30 |
317. | Sapient (sapient) | 67.61 | 97% | 2025-02-02 |
318. | pärskis (borje) | 67.50 | 98% | 2023-08-21 |
319. | mm2325 (moinl) | 67.42 | 97% | 2024-11-06 |
320. | MrTanmaster (mrtanmaster) | 67.34 | 98% | 2024-08-13 |
321. | SockYeh (sockyeh) | 67.29 | 96% | 2023-05-22 |
322. | Petter (ph140) | 67.29 | 97% | 2024-02-26 |
323. | Amandine (amtirino) | 67.23 | 98% | 2025-04-22 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |