Python Program to Find the Square Root

In this program, you'll check to find the square root of a number
pull/56/head
Pranjal Singh Rathore 2020-10-07 01:50:35 +05:30 committed by GitHub
parent 94faec41b8
commit 2a5d4e25f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Python Program to calculate the square root
# Note: change this value for a different result
num = 8
# To take the input from the user
#num = float(input('Enter a number: '))
num_sqrt = num ** 0.5
print('The square root of %0.3f is %0.3f'%(num ,num_sqrt))