Python Program to find the square root of a given number

Program

# Python Program to find the square root of a given number
inputNum = float(input('Enter a number: '))
squareRootOfNum = inputNum ** 0.5
print('The square root of %0.3f is %0.3f'%(inputNum ,squareRootOfNum))

Output

$ python3 FindSquareRoot.py 
Enter a number: 529
The square root of 529.000 is 23.000