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 |
---|---|---|---|---|
1394. | Sithu vadkna (jagatha) | 36.14 | 92% | 2024-01-07 |
1395. | Mynga (mynga_2) | 36.13 | 94% | 2025-04-25 |
1396. | wonton (wanton_wonton) | 36.08 | 93% | 2025-05-29 |
1397. | Nevatric (nevatric) | 36.07 | 95% | 2024-03-24 |
1398. | alex (alexsf_9000) | 36.01 | 93% | 2023-06-23 |
1399. | Wouter (woodyjo) | 35.99 | 93% | 2024-03-08 |
1400. | Nguyen (ganhox28) | 35.96 | 96% | 2025-04-14 |
1401. | Typer234 (typer12323) | 35.94 | 95% | 2024-11-07 |
1402. | Audrey (jefferystone) | 35.93 | 95% | 2025-03-03 |
1403. | HERM Ryan Christian (hermes... | 35.92 | 96% | 2023-07-21 |
1404. | Amy (amy10) | 35.90 | 94% | 2023-05-25 |
1405. | Kunal (khannakunal32) | 35.83 | 94% | 2023-02-03 |
1406. | Harsh Yadav (bestial) | 35.82 | 95% | 2023-08-02 |
1407. | millow (millow) | 35.79 | 93% | 2024-07-09 |
1408. | juliet (jc848) | 35.77 | 96% | 2024-06-13 |
1409. | Augusto Aguilar (fa1progra) | 35.77 | 93% | 2025-06-08 |
1410. | Stop (stop__) | 35.75 | 92% | 2023-04-15 |
1411. | krish (krish008) | 35.73 | 94% | 2023-07-25 |
1412. | Rift026 (rift026) | 35.72 | 94% | 2024-07-03 |
1413. | Deity (_notsla) | 35.72 | 94% | 2025-02-23 |
1414. | King of North Star (sonwukong) | 35.71 | 96% | 2025-02-07 |
1415. | Zenith (zenith1g) | 35.71 | 96% | 2025-02-20 |
1416. | julsdgreat (julsdgreat) | 35.70 | 92.6% | 2023-10-14 |
1417. | titodna (reshit) | 35.69 | 92% | 2024-12-02 |
1418. | Kamal (_kamal) | 35.67 | 92% | 2024-01-18 |
1419. | Anas wael (anas_wael) | 35.66 | 93.3% | 2024-01-25 |
1420. | ELI (vinkz) | 35.65 | 91% | 2023-10-18 |
1421. | monish (siddharth_pai) | 35.64 | 95% | 2025-05-13 |
1422. | RickChyou (rickchyou) | 35.62 | 95% | 2023-10-30 |
1423. | Templeton (templetontsai) | 35.62 | 94% | 2023-07-31 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |