Python Forum
What am i doing wrong - math tool box
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What am i doing wrong - math tool box
#3
In python 2.x, you should be using raw_input(), not input(). But that wouldn't cause what you're seeing (it's just something you should do).

Let's take a look at what you're typing. Right after your ans=input("What would you like to do?"), add this: print(repr(ans)).
Reply


Messages In This Thread
What am i doing wrong - math tool box - by TJOm - Apr-18-2018, 06:59 PM
RE: What am i doing wrong - math tool box - by nilamo - Apr-18-2018, 07:32 PM
RE: What am i doing wrong - math tool box - by TJOm - Apr-18-2018, 07:37 PM
RE: What am i doing wrong - math tool box - by TJOm - Apr-18-2018, 07:45 PM
RE: What am i doing wrong - math tool box - by TJOm - Apr-18-2018, 08:06 PM

Forum Jump:

User Panel Messages

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