[Tutor] a puzzle about -3**2 vs (-3)**2

Válas Péter turtle at 64.hu
Fri Jul 31 20:10:06 CEST 2015


2015-07-31 19:23 GMT+02:00 D Wyatt <fiberfolly at gmail.com>:

> > Try to get any other result for these operations in a primary school
> paper,
> > and then have a look at your marks...
> >
>
> Condescending and unhelpful response.  Why did you bother?
>
>
I tell you another way. These ARE the arithmetically correct results. Why
do you expect Python give wrong ones?


More information about the Tutor mailing list