Can anyone explain why that seem equal expressions give different results?
def foo(n): print(n) # -1 print(-1 ** 0.5) # -1.0 print(n ** 0.5) # (6.