Return dict sorted by values ascending.
Implement this function:
def sort_dict_by_value(d: dict) -> dict:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: d.
Input
{'a': 3, 'b': 1, 'c': 2}
Output
{'b': 1, 'c': 2, 'a': 3}