Python Program to Find the Square Root

in #python-dev5 years ago
# 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))

Coin Marketplace

STEEM 0.14
TRX 0.22
JST 0.031
BTC 80256.83
ETH 2139.65
USDT 1.00
SBD 0.65