"Paul Rubin" <http://[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> "Jim Langston" <[EMAIL PROTECTED]> writes:
>> In Python 2.5 on intel, the statement
>> 2**2**2**2**2
>> evaluates to
>> >>> 2**2**2**2**2
>
> I get the same number from hugs--why do you think it might be wrong?

2**2 = 4
4**2 = 16
16**2 = 256
256**2 = 65536
65536**2 = 4294967296

In fact, if I put (2**2)**2**2**2
it comes up with the correct answer, 4294967296


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

Reply via email to