Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grades Code":
#8
Hi Rob,

Thank-you for your reply, Your rewritten code is starting to make sense for me.
What is the small "f' in the brackets for?
Also there is a final part to this problem.

Test data
Table 5: Test data

1. Create another test case using the samples above as a guide.
2. Use debugging and problem-solving techniques to detect and correct errors in the code (use the test cases to confirm the design specifications). This must include examining the contents of the variables. Document the changes you made by including comments in the code, using the correct syntax.
another end part to this,

mark1 mark2 mark3 mark4 mark5 Expected sum Expected average Comments
10 12 16 14 18 70 14
A B D A C n/a n/a Exception error on input
17 17 199 20 - 17 90 18
Reply


Messages In This Thread
Grades Code": - by Anthony - Nov-22-2023, 03:58 AM
RE: Grades Code": - by rob101 - Nov-22-2023, 08:05 AM
RE: Grades Code": - by buran - Nov-22-2023, 08:07 AM
RE: Grades Code": - by buran - Nov-22-2023, 08:09 AM
RE: Grades Code": - by rob101 - Nov-22-2023, 08:29 AM
RE: Grades Code": - by perfringo - Nov-22-2023, 12:30 PM
RE: Grades Code": - by rob101 - Nov-22-2023, 01:47 PM
RE: Grades Code": - by Anthony - Nov-22-2023, 09:53 PM
RE: Grades Code": - by rob101 - Nov-22-2023, 10:30 PM
RE: Grades Code": - by Anthony - Nov-23-2023, 02:51 AM
RE: Grades Code": - by Anthony - Nov-23-2023, 02:54 AM
RE: Grades Code": - by Anthony - Nov-23-2023, 09:44 PM
RE: Grades Code": - by buran - Nov-23-2023, 03:59 AM
RE: Grades Code": - by rob101 - Nov-23-2023, 05:37 AM
RE: Grades Code": - by buran - Nov-24-2023, 07:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calculate median for school grades per subject siki 1 2,000 May-10-2021, 11:41 AM
Last Post: jefsummers
  python program that calculat grades of students biligorm 3 2,344 Apr-04-2020, 10:11 AM
Last Post: buran

Forum Jump:

User Panel Messages

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