Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Final Project Help
#2
If you are expecting the user to press enter at that point, you should not be converting it to int (line 15). You should just do nothing with it.

Note that t4 on line 7 is always going to be None, because you are using print instead of input. I would also say that eval is overkill for this situation. I would use int or maybe float.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Final Project Help - by hyg71886 - Feb-05-2019, 03:06 PM
RE: Final Project Help - by ichabod801 - Feb-05-2019, 04:00 PM
RE: Final Project Help - by hyg71886 - Feb-05-2019, 04:04 PM
RE: Final Project Help - by ichabod801 - Feb-05-2019, 08:57 PM
RE: Final Project Help - by hyg71886 - Feb-06-2019, 01:36 AM
RE: Final Project Help - by ichabod801 - Feb-06-2019, 03:12 AM
RE: Final Project Help - by micseydel - Feb-07-2019, 01:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Final Projet - Credit Risk Rauchvant 3 2,564 Nov-18-2020, 03:21 PM
Last Post: Rauchvant
  Help needed, stuck at the final output extricate 0 1,609 Jun-20-2020, 05:35 AM
Last Post: extricate
  Final Project (Databases, GUI, and Classes) poochenthecreator 1 1,765 Apr-27-2020, 09:58 PM
Last Post: deanhystad
  Trouble with edX Python Final sarah_mb_sues 11 14,057 Jun-19-2018, 10:36 AM
Last Post: cryomick
  Final problem Truman 4 4,163 Jan-22-2018, 11:42 PM
Last Post: Truman

Forum Jump:

User Panel Messages

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