How to calculate square root of number using python code

In this tutorial, we are going to show How to calculate square root of number using python code. We have added the video tutorial and the source code of the program.

Video Tutorial: Calculate square root of number using python code

Source Code

# Python Program to calculate square root of number 

number = input('Enter a number : ') 

number_sqrt = float(number) ** 0.5 
print('Square root of ',number,' is ',number_sqrt) 

Output

Also Read: Python program to create bmi calculator

Join Now : Learn Python Programming Masterclass

Leave a Reply

Your email address will not be published. Required fields are marked *