+ 1
How 9**(1/2)=1
7 Respuestas
+ 4
1/2=0 because it isn't double integer.
anything number in zero step is 1
(Sorry for my English)
+ 4
not correct, 1/2 don't be 0.5! it be zero!
+ 2
in python2 its 1, in python3 its 3.0.
in python 2, if x and y are both integer in x/y, then the operator / will work as integer division, which means 1/2 will be 0.
try 9**(1.0/2)
+ 1
9**(1/2)= 3. 0
+ 1
if x=9**(1/2)
x**2=9
x=3
0
I didn't understand how 9**(1/2) = 3.0 either. I only know it's the right answer by using the calculator as in 9^0.5 = 3.0
0
in python if one of two numbers is in() or float answer of operations isautomatically converted in to float