Korzeń kwadratowy Pythona
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))
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 numpy
numpy.sqrt(16) # output: 4.0
import math
x = 16
root = math.sqrt(x)
print(root) // 4