Python Program to Calculate Square Root of a Number

Python Program to Calculate Square Root of a Number

How to Calculate Square Root of a Number? We can do it by Dividing the Number with itself OR by Powering the Number by 1/2 OR by using Math Modules.

Square Root of a Number by Python :



number = int(input('Please Enter any numeric Value : '))

sqrt = number ** (1/2)

print('The Square Root of the Given Number %d is = %d'%(number, sqrt))


Output :