Computer Science, asked by 2shrestha28, 9 months ago

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 waseemasaifi9
0

firepit 1,grill 2, chairs 6, flowers 10, lights 14,trees 20

Explanation:

i hope this will help you

Answered by Anonymous
1

{"Flowers": 10, 'Trees': 20, 'Chairs': 6, "Firepit": 1, 'Grill': 2, 'Lights': 14}

Similar questions