Question: Write a Python program to find the highest 3 values in a dictionary. For example: my_data = {'a':500, 'b':3870, 'c': 560,'d':400, 'e':5874, 'f': 20} will

Write a Python program to find the highest 3 values in a dictionary. For example: my_data = {'a':500, 'b':3870, 'c': 560,'d':400, 'e':5874, 'f': 20} will print out: [5874, 3870, 560]

I need the correct answer in python fast please

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!