Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON QUESTION 10 Implement the following: a) Create a dictionary, grades, and initialize it with the following data: 'Jimmy': 66 'Jerry': 80 'Jacob': 71 'James':

PYTHONimage text in transcribed

QUESTION 10 Implement the following: a) Create a dictionary, grades, and initialize it with the following data: 'Jimmy': 66 'Jerry': 80 'Jacob': 71 'James': 59 'Jenny': 90 b) Use a loop to print all items of the dictionary grades as follows: name receives grade A (if the value is 90 or above). name receives grade B (if the value is 80 or above). name receives grade C (if the value is 70 or above). name receives grade D (if the value is 60 or above). name receives grade F (if the value is below 60 ). Make sure to precisely match the output format below. Write your code in the ANSWER area provided below (must include comments if using code is not covered in the course). Example Output Jimmy receives grade D. Jerry receives grade B. Jacob receives grade C. James receives grade F. Jenny receives grade A

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions