Python Forum
Name guessing game in python
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Name guessing game in python
#7
At the end, the while loop and the if statement are redundant. They both check the same condition. So you only need one (the if statement would be more appropriate).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Name guessing game in python - by Liquid_Ocelot - Apr-01-2017, 07:44 AM
RE: Name guessing game in python - by Ofnuts - Apr-01-2017, 08:03 AM
RE: Name guessing game in python - by Liquid_Ocelot - Apr-01-2017, 08:12 AM
RE: Name guessing game in python - by Liquid_Ocelot - Apr-01-2017, 10:26 AM
RE: Name guessing game in python - by ichabod801 - Apr-01-2017, 10:51 AM
RE: Name guessing game in python - by Liquid_Ocelot - Apr-01-2017, 10:58 AM
RE: Name guessing game in python - by ichabod801 - Apr-01-2017, 12:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Play again, in a guessing game banidjamali 4 11,786 Jan-22-2021, 06:23 AM
Last Post: banidjamali
  Help - random number/letter guessing game juin22 1 3,214 Aug-16-2020, 06:36 AM
Last Post: DPaul
  making a guessing number game blacklight 1 2,211 Jul-02-2020, 12:21 AM
Last Post: GOTO10
  Guessing game with 4 different digits LinseyLogi 6 3,679 Mar-29-2020, 10:49 AM
Last Post: pyzyx3qwerty
  Guessing game with comparison operators Drone4four 9 13,819 Dec-02-2018, 06:12 PM
Last Post: ichabod801
  Guessing Game "limit 4 attempts" help rprollin 3 19,805 Jun-23-2018, 04:37 PM
Last Post: ljmetzger
  guessing script simon 3 5,612 Oct-10-2016, 01:47 PM
Last Post: simon
  trying to get my random number guessing game to work! NEED HELP RaZrInSaNiTy 4 6,909 Oct-06-2016, 12:49 AM
Last Post: tinabina22

Forum Jump:

User Panel Messages

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