I saw two models for lambda and could not use them instead of them. You suppose:
You can see it is started with lambda then x:x and at the end the name of list(y). Suppose below:
b = max(y, key=lambda student: student.score)
I found that in an example. In this one a parameter is equal with lambda, the name of list is in the beginning and it is different all in all from the first one. Are there two different definitions?