Help with simple python program?

Write a function report card where the user can enter each of his grades, after which the program prints out a report card with GPA. Remember to ask the user how many classes he took (think - why would we need to ask this? Could we write the program a different way, which wouldn’t need that info?). Example output... show more Write a function report card where the user can enter each of his grades, after which the program prints out a
report card with GPA. Remember to ask the user how many classes he took (think - why would we need to ask
this? Could we write the program a different way, which wouldn’t need that info?). Example output is below.
>>> report_card()
How many classes did you take? 4
What was the name of this class? 18.02
What was your grade? 94
...
REPORT CARD:
18.02 - 94
21H.601 96
8.01 91
5.111 - 88
Overall GPA 92.25
1 answer 1