Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# For this project, you are going to write a program that calculates #the GPA for every student in a list. There will be


 # For this project, you are going to write a program that calculates #the GPA for every student in a list.

# For this project, you are going to write a program that calculates #the GPA for every student in a list. There will be a list of students. # Each item in the list will itself be a list that includes the students #numeric grades. The first item in every sublist will be the student's name. # You will need to calculate the GPA for each student and store it in the #list with the student's grades. The GPA should be stored with the name in # the first element of the list. You should use a tuple to store the name and # GPA. Your program should conform to the following specifications. # 1. No names should be deleted from the lists. # 2. Before you start calculating the GPA, all numeric grades should be converted to letter grades. These letters should overwrite the number. # 3. You should create/use functions for converting a number to a letter 023- # # and for calculating the GPA of a single student. #4. GPAS should be rounded to 3 digits. # 5. Names and GPAS should be stored as a 2-item tuple that replaces the 13 name in each sublist. The tuple should be name first, GPA second, 1.e., (name, GPA)

Step by Step Solution

3.51 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

Python program that calculates the GPA for each student in a list def calculategpagrades gradedict A ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Analytics Communicating With Numbers

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

1st Edition

978-1260785005, 1260785009

More Books

Students also viewed these Programming questions