Question
Hello, I need help with this assignment. Create a python program making use of lists and a dictionary. Deliverables: Python File and a flowchart In
Hello, I need help with this assignment.
Create a python program making use of lists and a dictionary.
Deliverables: Python File and a flowchart In first list, there will be four of your courses of your choice. In the second list there will be four grades corresponding to the four courses.
Define a dictionary that assigns grade points to each possible grade.
Calculate the GPA by adding each grade point (by reference to the dictionary) divided by the length of the second list. (use the len() statement for this. Here the list element will be embedded as the key in referencing the grade points. (e.g. OneGradePoint = (gradePointDictionary [list2 [0] ]), this will yield the grade points of the first grade in the second list (list2).
Display each course with their grade, the total grade points and the GPA. Display the proper string literals that will identify your output. First assign the course list, then assign the grades list. Create the dictionary of grades with grade points. Calculate the total grade points. divide the grade points by the length of the grades list.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started