Question: PYTHON 4. Write a function calculateGPA() which calculates the GPAs of two students Ali and Cenk. Their grades and the grading system are given below.
PYTHON
4. Write a function calculateGPA() which calculates the GPAs of two students Ali and Cenk. Their grades and the grading system are given below. You will calculate and print their GPAs. You should use calculateGPA() to calculate the GPA of each student by calling it separately for each student (once for Ali with Ali's grades as input to the function; and once for Cenk with Cenk's grades as input to the function). Here is the grading system: A 4.00 A- 3.70 B+3.30 B 3.00 B- 2.70 C+2.30 C 2.00 C- 1.70 D+1.30 D 1.00 F 0.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
