Posts by Guilherme Nascimento • 1 point
1 post
-
0
votes2
answers90
viewsA: sort list c lambda
The problem is in key=, you are passing a number when the expected should be a "function" or a lambda (as documented: https://docs.python.org/3/library/functions.html#sorted). That is to say sorted…
classificationanswered Guilherme Nascimento 1