Question: what is the answer in python ? Exercise 4 At UDST, the GPA is a weighted average, not of the grades directly but of grade
Exercise 4 At UDST, the GPA is a weighted average, not of the grades directly but of grade points. Grade points are converted from grades According to the below tabe: ande, a runction grade2GP that takes a grade as input and returns the the semester GPA. Here is a sample run: Enter the number of courses that you are taking this semester: 4 Enter the course code for course \#1: COMM1020 Enter the number of credits of comm1020: 3 Enter the grade obtained in COMM1020: 92 Enter the course code for course \#2: INFS1201 Enter the number of credits of INFS1201: 4 Enter the grade obtained in INFS1201: 78 Enter the course code for course \#3: INFT1201 Enter the number of credits of INFT1201: 4 Enter the grade obtained in INFT1201: 96 Enter the course code for course \#4: MATH1030 Enter the number of credits of MATH1030: 3 Enter the grade obtained in MATH1030: 86 Your semester GPA is: 3.4642857142857144
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
