176729/does-python-give-wrong-answer-square-integer-division-python
x = 16 sqrt = x**(.5) #returns 4 sqrt = x**(1/2) #returns 1
I know I can import math and use sqrt, but I'm looking for an answer to the above. What is integer division in Python 2? This behavior is fixed in Python 3.