# Python Program to find the square root of a number

In this example, we will write a simple program to convert find out the square root of a number using python basic operator. To better understand this example, make sure you have knowledge of the following tutorials:-

## Python Program to find the square root of a number:

number = float(input('Enter a number: '))
square_root = number ** 0.5
print('The square root of %0.2f is %0.2f' %(number, square_root))

The output of the above program is:-

Enter a number: 16
The square root of 16.00 is 4.00
The square root operation is performed using exponent operator i.e. ** which raises to the power of 1/2 i.e. 0.5. The output of the program is formatted using print() function.
SHARE Python Program to find the square root of a number