Skip to content

Problem 5

Write a Python function to sort a dictionary by value. Return a list.

di = {5: 1, 4: 3, 2: 2, 6: 9, 3: 4}