Problem 1 (Problem 22, text book, chapter 9, page 479)

$24.99 $18.99

Write a function that takes as an argument an unordered list of integers and return dictionary of the three integers with the highest count and their counts. That is, key is integer; value is its count. In case of a tie, either value can be returned. Problem 2 Write a function that takes a dictionary…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

Write a function that takes as an argument an unordered list of integers and return dictionary of the three integers with the highest count and their counts. That is, key is integer; value is its count. In case of a tie, either value can be returned.

Problem 2

Write a function that takes a dictionary and an integer as arguments and return all keys of the dictionary whose values equal to the integer.

Problem 1 (Problem 22, text book, chapter 9, page 479)
$24.99 $18.99