I need some help.
So... I'm currently working on a project and I used a lambda function, yet I need to explain it and I'm not sure of what happens or why is the lambda function used here. I had to sort a dictionary by values. The function used was:
dic = {'a': 2, 'b':3, 'c':1}
let_num = sorted(dic.items(), key=lambda x: x[1], reverse=True)
and it works as intended!