4. Sort the following dictionary’s keys based on the value from highest to lowest. Assign the resulting value to the variable sorted_values.
dictionary = {"Flowers": 10, 'Trees': 20, 'Chairs': 6, "Firepit": 1, 'Grill': 2, 'Lights': 14}
[PYTHON]
Answers
Answered by
0
firepit 1,grill 2, chairs 6, flowers 10, lights 14,trees 20
Explanation:
i hope this will help you
Answered by
1
{"Flowers": 10, 'Trees': 20, 'Chairs': 6, "Firepit": 1, 'Grill': 2, 'Lights': 14}
Similar questions