[issue6955] Max() Not Working Properly

Benjamin Peterson report at bugs.python.org
Mon Sep 21 05:14:59 CEST 2009


Benjamin Peterson <benjamin at python.org> added the comment:

This is the way strings are compared. You can change this easily,
though, using max(list_of_string_numbers, key=int).

----------
nosy: +benjamin.peterson
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6955>
_______________________________________


More information about the Python-bugs-list mailing list