Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I need assistance with this question. The output it is supposed to generate is here as well Ex 8 1) Build the following dictionary:

Hello, I need assistance with this question. The output it is supposed to generate is here as well

image text in transcribedimage text in transcribed

Ex 8 1) Build the following dictionary: (20 points) Key 'Andy' 'Bill! 'Cindy "Dave 'Emily' 'Frank' 'Gene' Value 78 82 94 77 82 94 87 Find the max score, min score, and average score. (20 points) Find the person who has the max score. (20 points) Find the person who has the min score. (20 points) Find the persons who scored higher than the average. (20 points) Homework 9 (Dictionary) - [CAUsers\mokw\PycharmProjects\Homework 9 (Dictionary)] - ...1.py - PyCharm Edu 3.0 Eile Edit View Navigate Code Help Project Homework 9 (Dictionary) C:\Us P1.py al External Libraries 1.py x 1: Project LO 5 6 7 8 print("max:", maxScore, "min:", minScore, "avg:", avgScore) 9 10 11 12 13 14 5 15 16 17 18 19 20 21 22 23 24 25 print (maxScore, who_got_this_score (maxScore)) print (minScore, who_got_this_score (minScore)) print (avgScore, who_got_more_than_this_score (avgScore)) 26 27 Run 1 1 max: 94 min: 77 avg: 84.85714285714286 94 ['Cindy', 'Frank'] 77 ['Dave'] 84.85714285714286 ['Cindy', 'Frank', 'Gene'] Process finished with exit code o DO >> >> Python Console 4: Run 17:37 n/a UTF-8

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

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions

Question

Suppose that 0 Converges. What can you say about p and q? dx

Answered: 1 week ago