Question: 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 

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

1 Expert Approved Answer
Step: 1 Unlock

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 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!