[Tutor] min max confusion
frank h.
frank.hoffsummer at gmail.com
Wed Feb 7 22:57:14 CET 2007
hello all
here is a disturbing session with min() and max() for which I have
absolutely no explanation
>>> t = (952L, 945L, 941L, 939L, 949L, 972L, 956L, 965L, 973L, 965L)
>>> min(t)
939L
>>> max(t)
exceptions.TypeError Traceback (most recent
call last)
TypeError: 'int' object is not callable
why doesn't max(t) work?! I am using python 2.4.4
thanks for any insight you might have
-frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070207/f1d1a927/attachment-0001.html
More information about the Tutor
mailing list