#Write a python code to arrange the following dictionary values:

#{'key_1': [20, 80, 50], 'key_2': [200, 10, 100], 'key_3': [300, 20, 400]}

# fristly we declare dictionary to a variable name my_dict:

my_dict = {'key_1': [20, 80, 50], 'key_2': [200, 10, 100], 'key_3': [300, 20, 400]}

# we declare our dictionary keys to a and, values to b variables:

# then we sort our dictionay using sorted() for values and forLoop for the keys and values of our dictionary:

sort_my_dict = {a: sorted(b) for a, b in my_dict.items()}

#finally we print our updated sorted dictionary

print(sort_my_dict)