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}]}
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 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
Digital Systems Design Using Verilog
ISBN: 978-1285051079
1st edition
Authors: Charles Roth, Lizy K. John, Byeong Kil Lee