Question
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
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