Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if statement not working
#7
To make the initial input look somewhat better, i'd change it to:
x = input("There are three modes to this game: quadratic, interest, and order of operations. Type:"
          "\n    'q' for quadratics\n    'i' for interest\n    'o' for order of ops\nYour choice: ")
so it looks like:
Output:
There are three modes to this game: quadratic, interest, and order of operations. Type: 'q' for quadratics 'i' for interest 'o' for order of ops Your choice:
Reply


Messages In This Thread
if statement not working - by trent101010 - Mar-08-2018, 07:14 PM
RE: if statement not working - by wavic - Mar-08-2018, 07:48 PM
RE: if statement not working - by sparkz_alot - Mar-08-2018, 08:19 PM
RE: if statement not working - by trent101010 - Mar-08-2018, 10:52 PM
RE: if statement not working - by trent101010 - Mar-11-2018, 05:02 PM
RE: if statement not working - by wavic - Mar-11-2018, 07:07 PM
RE: if statement not working - by trent101010 - Mar-12-2018, 06:17 PM
RE: if statement not working - by Larz60+ - Mar-11-2018, 08:53 PM
RE: if statement not working - by wavic - Mar-14-2018, 03:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question If, elif, and else statement not working PickleScripts 3 940 Mar-30-2023, 02:53 PM
Last Post: PickleScripts
  If statement not working correctly? MrKnd94 2 857 Nov-16-2022, 02:49 AM
Last Post: deanhystad
  If Statement not working...Why? Milfredo 2 2,230 Oct-17-2020, 03:23 AM
Last Post: Milfredo
  Invoking function in if else statement, not working! ibaad1406 13 5,708 May-30-2019, 09:05 PM
Last Post: ibaad1406
  If statement not working oldcity 4 3,139 Oct-14-2018, 10:45 AM
Last Post: oldcity
  why is this try.....except statement not working? HenryJ 3 8,799 Feb-06-2018, 06:15 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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