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 |
---|---|---|---|---|
1420. | Amr (amrnour) | 35.37 | 91% | 2023-09-22 |
1421. | Gabriel Ramos (gabirle3u3) | 35.36 | 94.6% | 2024-05-31 |
1422. | Seane (seane_cifer) | 35.33 | 94.8% | 2024-05-11 |
1423. | Sauski (sauski) | 35.28 | 97% | 2024-01-31 |
1424. | Unknown Person (iamikey7) | 35.28 | 94% | 2024-04-05 |
1425. | Amber Switch (amber_switch) | 35.25 | 92% | 2025-04-09 |
1426. | Avinash (avinash_01) | 35.24 | 96% | 2025-06-04 |
1427. | Abhi (abhishekpatil) | 35.23 | 92% | 2023-06-21 |
1428. | Abhinav (typingcompany) | 35.17 | 96% | 2024-05-28 |
1429. | Ali (fake051103) | 35.10 | 96% | 2024-02-24 |
1430. | (◕‿◕。) (quitqwerty) | 35.06 | 98% | 2024-02-07 |
1431. | Zaphod (zapgawd) | 34.98 | 94% | 2024-09-23 |
1432. | Juanpy (juanpy) | 34.95 | 97% | 2023-10-18 |
1433. | Ana Regina (anaard) | 34.92 | 93% | 2024-02-07 |
1434. | Fani Annur (sywyss) | 34.92 | 95% | 2023-08-12 |
1435. | dave (shalomski) | 34.89 | 94% | 2023-06-09 |
1436. | vic (hoodedgull) | 34.86 | 93% | 2023-08-31 |
1437. | Saurabh (ssb456) | 34.85 | 95.1% | 2023-10-12 |
1438. | congvo (congvm2011) | 34.76 | 95% | 2023-07-18 |
1439. | r (blazinrt) | 34.73 | 93% | 2023-07-04 |
1440. | BTC 100k$ soon (anagami) | 34.65 | 95% | 2024-01-28 |
1441. | Scott (scotts06) | 34.56 | 97% | 2024-01-16 |
1442. | Mikeyyy (mikeyyy_06) | 34.55 | 92% | 2023-06-29 |
1443. | darren (darrenduhdragon) | 34.53 | 94% | 2023-07-13 |
1444. | Cockroach (_cockroach) | 34.52 | 93% | 2023-07-11 |
1445. | Leve Leve, Leve Palestina (... | 34.48 | 94% | 2023-12-23 |
1446. | renan (renanv) | 34.42 | 92.2% | 2023-10-13 |
1447. | Gonzalo (gmurop) | 34.42 | 95.9% | 2024-02-24 |
1448. | Blessed (itsblessedxx) | 34.42 | 94% | 2024-04-23 |
1449. | Siti (shajar23) | 34.39 | 95% | 2023-08-15 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |