Steven Bethard wrote:

>> return max(lst)
>
> Very clever!  Thanks!

too clever.  boolean > None isn't guaranteed by the language specification:

    http://docs.python.org/ref/comparisons.html

    "... objects of different types always compare unequal, and are ordered 
consistently
    but arbitrarily. /.../ In the future, the comparison rules for objects of 
different types are
    likely to change. ..."

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to