Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nested If Work Help
#2
We would appreciate it if you reposted your code with python tags. See the BBCode link in my signature for instructions. There may be indentation errors causing the problem, but we can't see them.

Note that your average is calculated wrong. Order of operations means that it only divides the science score and then adds the math and english scores. You need parentheses around the addition to get the right average.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Nested If Work Help - by Septhys - Oct-09-2017, 07:32 PM
RE: Nested If Work Help - by ichabod801 - Oct-09-2017, 07:38 PM
RE: Nested If Work Help - by buran - Oct-09-2017, 07:49 PM
RE: Nested If Work Help - by ichabod801 - Oct-09-2017, 08:41 PM
RE: Nested If Work Help - by buran - Oct-09-2017, 08:48 PM

Forum Jump:

User Panel Messages

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