Write a Python Program to Find the Square Root of Number

Write a Python Program to Find the Square Root of Number 



Program 

# create variable that store exponent value
num = 8 

# create squareroot formula
num_sqrt = num ** 2

print('The square root of %0.3f is %0.3f' %(num ,num_sqrt))


Output 

    The square root of 8.000 is 64.000
Post a Comment (0)
Previous Post Next Post