Write a function report card where the user can enter each of his grades, after which the program prints out a report card with
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 Hints: You'll want to use a for loop, and you'll probably want to keep track of names and grades seperately; there are a couple ways to do this. Remember, add to lists with my list.append(elt).
Step by Step Solution
3.49 Rating (146 Votes )
There are 3 Steps involved in it
Step: 1
Program def reportcard numclasses intinputHow many classes did you take mylist This will store the class names grades This will store the grades for i ...See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started