Python Forum
Beginner Code, how to print something after a number of turns (guessing game)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Beginner Code, how to print something after a number of turns (guessing game)
#2
you could put a separate if statement in just before asking for input so the output would be
Output:
Enter Guess:1 Enter Guess:2 Last guess Enter Guess:3 Unlucky mate, out of guesses.
Reply


Messages In This Thread
RE: Beginner Code, how to print something after a number of turns (guessing game) - by Yoriz - Jun-18-2020, 04:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  needing some help to write some code for a game calculator rymdaksel 1 486 Jan-02-2024, 09:56 AM
Last Post: deanhystad
  Beginner: Code not work when longer list raiviscoding 2 872 May-19-2023, 11:19 AM
Last Post: deanhystad
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 1,169 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  help me simple code result min and max number abrahimusmaximus 2 967 Nov-12-2022, 07:52 AM
Last Post: buran
  Beginner Higher Lower Game wallytan 2 1,666 Sep-29-2022, 05:14 PM
Last Post: deanhystad
  Print Player Name and Number of Pokemon webmanoffesto 1 1,149 Aug-23-2022, 08:54 PM
Last Post: deanhystad
  Problem with my pong game code Than999 8 3,904 May-15-2022, 06:40 AM
Last Post: deanhystad
Question Beginner Boolean question [Guessing game] TKB 4 2,417 Mar-22-2022, 05:34 PM
Last Post: deanhystad
  Unable to count the number of tries in guessing game. Frankduc 7 2,005 Mar-20-2022, 08:16 PM
Last Post: menator01
  Even number code syntax error MrCeez 1 2,320 May-02-2021, 06:43 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020