Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago