racine carrée python
import math
a = input("what do you wnat to square root")
print(math.sqrt(a))
Crazy Crab
import math
a = input("what do you wnat to square root")
print(math.sqrt(a))
a = int(input("enter a real number: "))
sqrt = a**(1/2)
print("the square root of ",a ,"is",sqrt)
def square_root(num):
return num**0.5
#prints out 4
print(square_root(16))
#prints out 10
print(square_root(100))
def rms(x):
rms = np.sqrt(np.mean(x**2))
return rms
import math
whose_square = int(input("Of which number to find square root:- "))
print("The square root of ", whose_square,"is",math.sqrt(whose_square))
import math
x = 16
root = math.sqrt(x)
print(root) // 4