[Tutor] When max() doesn't work as expected

spir denis.spir at free.fr
Fri Dec 4 08:21:28 CET 2009


Albert Sweigart <asweigart at gmail.com> dixit:

> You need to specify an ordering function, in your case, len():

By the way, is there any reason why the compare func parameter is called 'key'?

Denis
________________________________

la vita e estrany

http://spir.wikidot.com/




More information about the Tutor mailing list