On Apr 24, 12:08 am, Dan Bishop <[EMAIL PROTECTED]> wrote:
> On Apr 23, 11:51 pm, Greg J <[EMAIL PROTECTED]> wrote:
>
> > I was reading the programming Reddit tonight and came across this
> > (http://reddit.com/info/6gwk1/comments/):
>
> > >>> ([1]>2)==True
> > True
> > >>> [1]>(2==True)
> > True
On Apr 23, 11:51 pm, Greg J <[EMAIL PROTECTED]> wrote:
> I was reading the programming Reddit tonight and came across this
> (http://reddit.com/info/6gwk1/comments/):
>
> >>> ([1]>2)==True
> True
> >>> [1]>(2==True)
> True
> >>> [1]>2==True
>
> False
>
> Odd, no?
>
> So, can anyone here shed light
I was reading the programming Reddit tonight and came across this
(http://reddit.com/info/6gwk1/comments/):
>>> ([1]>2)==True
True
>>> [1]>(2==True)
True
>>> [1]>2==True
False
Odd, no?
So, can anyone here shed light on this one?
--
http://mail.python.org/mailman/listinfo/python-list