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 |
---|---|---|---|---|
1291. | JaselAlexanderAymaTiticayo ... | 38.17 | 95% | 2024-06-09 |
1292. | BruceHo (bruceho) | 38.11 | 91% | 2024-08-09 |
1293. | Crazy_aashish (racerft_me) | 38.11 | 93% | 2024-06-01 |
1294. | Ankur (ankur7karn) | 38.09 | 94% | 2024-04-09 |
1295. | Calem (slow_crunch) | 38.08 | 98% | 2023-07-12 |
1296. | SnekChrmr (snekchrmr) | 38.07 | 97% | 2024-05-07 |
1297. | Arjun Singh (_arjun) | 38.05 | 94% | 2023-07-22 |
1298. | nyloraqu (nyloraqu) | 38.05 | 96% | 2025-01-16 |
1299. | Milan (m_i_n_o) | 38.01 | 95% | 2022-10-29 |
1300. | Matho (matho_) | 37.98 | 91.7% | 2024-09-25 |
1301. | cis (cis04) | 37.95 | 94% | 2023-06-01 |
1302. | kynmp (rng2036) | 37.92 | 95% | 2024-12-05 |
1303. | luzifer2222 (luzifer2222) | 37.87 | 94% | 2024-07-12 |
1304. | Mohamed (mohamed25) | 37.87 | 98% | 2023-07-09 |
1305. | Jaul (jaul) | 37.87 | 92% | 2023-07-21 |
1306. | edeelo5 (edeelo5) | 37.83 | 96% | 2024-09-27 |
1307. | klee (klee918) | 37.80 | 93% | 2023-10-01 |
1308. | wonderful_day_to_you (wonde... | 37.80 | 93% | 2023-06-04 |
1309. | Ajos (ajos6969) | 37.74 | 96% | 2023-08-21 |
1310. | Silver (psilverfish) | 37.70 | 96% | 2023-04-13 |
1311. | Serhii (1mmortalized) | 37.61 | 92% | 2024-09-27 |
1312. | aashish gupta (aashish_803) | 37.54 | 95% | 2024-08-08 |
1313. | Dividing (diogames) | 37.54 | 91% | 2024-07-12 |
1314. | malfazakki (malfazakki) | 37.47 | 95% | 2023-07-24 |
1315. | Shadow (x_shadow_x) | 37.46 | 93% | 2023-06-08 |
1316. | JD (_jd_) | 37.45 | 95% | 2019-10-29 |
1317. | Zodiac (zodiac__) | 37.42 | 93% | 2025-04-07 |
1318. | ATrain (adawsone) | 37.42 | 94% | 2023-08-15 |
1319. | Marwane (soceu30) | 37.40 | 94% | 2023-07-25 |
1320. | Rincewind (gato_ninja) | 37.38 | 94.7% | 2025-02-19 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |