[Tutor] revisiting a puzzle about -3**2 vs (-3)**2
fiberfolly at gmail.com
Wed Aug 12 18:07:01 CEST 2015
so I 'get' that -5**2 = -25 and (-5)**2 is 25, BUT if you write a function
""" Output: sq returns the square of its input
input x: a number (int or float)
and pass it a negative number it handles it as though the argument is
I find this confusing. Can someone explain?
Also, can someone please take me off moderated?
thanks in advance.
Deb Wyatt in WA
More information about the Tutor