Re: [Tutor] min max confusion

2007-02-07 Thread János Juhász
Hi Frank, > From: "frank h." <[EMAIL PROTECTED]> > Subject: [Tutor] min max confusion > >>> t = (952L, 945L, 941L, 939L, 949L, 972L, 956L, 965L, 973L, 965L) > >>> min(t) > 939L > >>> max(t) > exceptions.TypeError

Re: [Tutor] min max confusion

2007-02-07 Thread frank h.
:-)) turns out I found the problem: max was a local integer variable in my namespace. as such it was obviously not callable On 2/7/07, frank h. <[EMAIL PROTECTED]> wrote: hello all here is a disturbing session with min() and max() for which I have absolutely no explanation >>> t = (952L, 9

[Tutor] min max confusion

2007-02-07 Thread frank h.
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' ob