Question: Hi, I need help with the following Python assignment. Thanks in advance. Your Cumulative GPA (CGPA) is calculated as an average of all grades you've

Hi, I need help with the following Python assignment. Thanks in advance.

Hi, I need help with the following Python assignment. Thanks in advance.Your Cumulative GPA (CGPA) is calculated as an average of all gradesyou've received. In this problem, you receive data from multiple semesters. Input

Your Cumulative GPA (CGPA) is calculated as an average of all grades you've received. In this problem, you receive data from multiple semesters. Input . First, you will receive the number of semesters included in the student transcript, followed by the word "SEMESTERS" . Second, you will receive the total number of classes that the student has taken so far, followed by the word "CLASSES" For each semester of data provided, you will receive the following information: o Semester name o Number of courses taken that semester o Multiple lines containing information for each course taken that semester in the following format: + course code followed by grade letter obtained, each separated by a comma Processing 1 Convert each letter grade to the appropriate grade point value Disregard any neutral grade letters (eg. W or ILL grades) 2 Calculate the GPA and CGPA at the end of each semester and output semester information (as below) Output format SEMESTER: {semester name} GPA: {calculated GPA rounded to 2 decimal places} CGPA: {calculated CGPA to that point rounded to 2 decimal places} SEMESTER: {semester name} GPA: {calculated GPA rounded to 2 decimal places} CGPA: {calculated CGPA to that point rounded to 2 decimal places} Sample Input Sample output 3 SEMESTERS 5 CLASSES Transfer Credits MATH 1000,B Summer 2018 SEMESTER: Transfer Credits GPA: 3.0 CGPA: 3.0 SEMESTER: Summer 2018 GPA: 2.1 CGPA: 2.33 SEMESTER: Fall 2019 GPA: 1.0 CGPA: 2.06 CSCI 1107,A CSCI 1800,C+ CSCI 1110,F Fall 2019 MATH 1010,D 3 SEMESTERS 6 CLASSES Transfer Credits ENGI 1123,B MATH 1000,F Summer 2018 SEMESTER: Transfer Credits GPA: 1.5 CGPA: 1.5 SEMESTER: Summer 2018 GPA: 2.0 CGPA: 1.75 SEMESTER: Fall 2018 GPA: 3.5 CGPA: 2.33 CSCI 1110,F MATH 1000, Fall 2018 MATH 1010,B CSCI 1110, A 2 SEMESTERS 8 CLASSES Fall 2018 SEMESTER: Fall 2018 GPA: 2.06 CGPA: 2.06 SEMESTER: Winter 2018 GPA: 4.0 CGPA: 261 CSCI 1107,ILL CSCI 1120,F CSCI 1110,D CSCI 1800,C+ MATH 1000, A- MATH 2112,B+ Winter 2018 MATH 1010, A- CSCI 1801,A+

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!