Write sorted_by_value(d) returning the dict's keys ordered by value (ascending), ties by key.
sorted_by_value({'b': 2, 'a': 3, 'c': 1})
→ ['c', 'b', 'a']sorted_by_value({})
→ []Submit runs 3 tests, including hidden edge cases.
Run your code to see the output here.