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 |
---|---|---|---|---|
1528. | Zaphod (zapgawd) | 34.98 | 94% | 2024-09-23 |
1529. | Juanpy (juanpy) | 34.95 | 97% | 2023-10-18 |
1530. | Ana Regina (anaard) | 34.92 | 93% | 2024-02-07 |
1531. | Fani Annur (sywyss) | 34.92 | 95% | 2023-08-12 |
1532. | git_gud (git__gud) | 34.92 | 92% | 2023-05-23 |
1533. | dave (shalomski) | 34.89 | 94% | 2023-06-09 |
1534. | vic (hoodedgull) | 34.86 | 93% | 2023-08-31 |
1535. | Saurabh (ssb456) | 34.85 | 95.1% | 2023-10-12 |
1536. | congvo (congvm2011) | 34.76 | 95% | 2023-07-18 |
1537. | r (blazinrt) | 34.73 | 93% | 2023-07-04 |
1538. | BTC 100k$ soon (anagami) | 34.65 | 95% | 2024-01-28 |
1539. | Scott (scotts06) | 34.56 | 97% | 2024-01-16 |
1540. | Mikeyyy (mikeyyy_06) | 34.55 | 92% | 2023-06-29 |
1541. | darren (darrenduhdragon) | 34.53 | 94% | 2023-07-13 |
1542. | Cockroach (_cockroach) | 34.52 | 93% | 2023-07-11 |
1543. | Carlos Mauricio Riverin Vas... | 34.51 | 96% | 2025-06-10 |
1544. | Leve Leve, Leve Palestina (... | 34.48 | 94% | 2023-12-23 |
1545. | renan (renanv) | 34.42 | 92.2% | 2023-10-13 |
1546. | Gonzalo (gmurop) | 34.42 | 95.9% | 2024-02-24 |
1547. | Blessed (itsblessedxx) | 34.42 | 94% | 2024-04-23 |
1548. | Siti (shajar23) | 34.39 | 95% | 2023-08-15 |
1549. | Isay (isay__) | 34.38 | 93% | 2024-08-31 |
1550. | Sandra (badmac16) | 34.37 | 96% | 2024-01-31 |
1551. | Justin Maess (dent_pbc) | 34.33 | 96% | 2024-01-11 |
1552. | Himanshu (hima_anshu) | 34.33 | 95% | 2024-10-02 |
1553. | sysout(" Endeavour") (sysou... | 34.30 | 94% | 2024-01-25 |
1554. | Shivam R k (shshsjksjsba) | 34.25 | 96.9% | 2024-11-14 |
1555. | Irfan (irfany) | 34.19 | 93.5% | 2024-09-06 |
1556. | Ipadplayer (ipad_player09) | 34.18 | 94% | 2023-06-30 |
1557. | Kelly (zkli) | 34.17 | 96% | 2024-08-14 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,022 | 59.33 | October 3, 2018 |