Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write python code for the following: Consider the following dictionary that stores students scores scores={Math:[{Alice:80},{Bob:95},{Charlie:60},{David:75}],Science:[{Alice:84},{Charlie:80},{Aria:100},{Frank:55},{Eve:86}],Python:[{Bob:91},{David:75},{Eve:72},{George:89}]} (1) Calculate the percentage of students who have

write python code for the following:

 

Consider the following dictionary that stores students scores

scores={"Math":[{"Alice":80},{"Bob":95},{"Charlie":60},{"David":75}],"Science":[{"Alice":84},{"Charlie":80},{"Aria":100},{"Frank":55},{"Eve":86}],"Python":[{"Bob":91},{"David":75},{"Eve":72},{"George":89}]}

 

(1) Calculate the percentage of students who have registered more than one course.

(2) Convert students scores to letter grades according to the following criteria:• students get A if their score is equal or higher than 90• students get B if their score is equal or higher than 80 and lower than 90• students get C if their score is equal or higher than 60 and lower than 80• students get D if their score is lower than 60













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_2

Step: 3

blur-text-image_3

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

Digital Systems Design Using Verilog

Authors: Charles Roth, Lizy K. John, Byeong Kil Lee

1st edition

1285051076, 978-1285051079

More Books

Students also viewed these Algorithms questions