Reverse sense of keyfunc
It is more natural to write the key function as something that we maximize rather than something that we minimize. Reversing the sense of the keyfunc allows us to remove confusing negations.
Edited by Leo P. Singer
It is more natural to write the key function as something that we maximize rather than something that we minimize. Reversing the sense of the keyfunc allows us to remove confusing negations.