Question: Use the pseudocode provided below to write the python code solution on Jupyter Notebook. Provide a comment to label the problem (e.g., #Problem A, etc.).

Use the pseudocode provided below to write the python code solution on Jupyter Notebook. Provide a comment to label the problem (e.g., #Problem A, etc.). Solve each problem in the order presented below. Be sure to run each cell to display the end result. There should be a total of four code cells in your Notebook (one for each problem).

Submit your completed Jupyter Notebook file (.ipynb) and as a PDF file to Blackboard using one submission.

Problem D: Count the number of grades that fall into the following categories: A, B, C, and Other. Example of the final output: {'A': 2, 'B': 2, 'C': 1, 'Other': 2}

Pseudocode:

Define a variable named a with the value 0

Define a variable named b with the value 0

Define a variable named c with the value 0

Define a variable named other with the value 0

Define a list variable named grades with values: 100, 80, 90, 65, 70, 75, and 85

For each grade in grades list:

If the grade is greater than or equal to a 90:

Add 1 to a

If the grade is greater than or equal to a 80:

Add 1 to b

Else if the grade is greater than or equal to a 73:

Add 1 to c

Otherwise add 1 to other

Display the totals for a, b, c, and other in a dictionary format

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 General Management Questions!