3 odpowiedzi
+ 3
print(num **0.5)
or
print(num**(1/2))
+ 2
Hello, python has a math module. Its called “math”, all you have to do is call import math, then for whatever variable you want, you call math.sqrt(x)
+ 2
You can use ** operator or import the module math and use sqrt()