Sort Dict by Value Descending
Interview insights are lockedSee how often this is asked and which companies asked it with Buncho Pro.Given scores = {"A": 90, "B": 70, "C": 95}, return a dictionary sorted by value from highest to lowest.
Given scores = {"A": 90, "B": 70, "C": 95}, return a dictionary sorted by value from highest to lowest.
Found a mistake in this question?
Locked until you attempt this problem
Log in and submit an answer to get personalised AI feedback.