# How to get the square root of a number in Python:
# First we import the math module
import math
# Then we get the square root of a number using the sqrt() method
print(math.sqrt(9))
# Another way is to do it by doing this calculation: 'number ** 0.5'
print(9 ** 0.5)
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))
# python program to find the square root of the number
num = int(input("enter a number:"))
num_sqrt = num ** 0.5
print("the sqare root of {0} is {1}".format(num, num_sqrt))