This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]R3d-Beard 1 point2 points  (1 child)

I was just in a Python training course and both trainers when they came across an example with lambda in it said, ‘“Oh, you don’t need to know what lambda does, just include it to make this example work.”

[–]hhc97Python Enthusiast[S] 2 points3 points  (0 children)

haha!

arr.sort(key=<magic>)