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

Válas Péter turtle at 64.hu
Wed Aug 12 19:49:44 CEST 2015


2015-08-12 18:07 GMT+02:00 D Wyatt <fiberfolly at gmail.com>:

> so I 'get' that -5**2 = -25 and (-5)**2 is 25, BUT if you write a function
>
> and pass it a negative number it handles it as though the argument is
> in parentheses.
>

As the argument IS in parentheses. How do you pass it to the function
without parentheses?


More information about the Tutor mailing list