Write Python Program to print the Square Root of a number
Topic: Write Python Program to print the Square Root of a number
Solution
num = 8 num_sqrt = num ** 0.5 print('The square root of %0.3f is %0.3f'%(num ,num_sqrt))
List all Python Programs
Solution
num = 8 num_sqrt = num ** 0.5 print('The square root of %0.3f is %0.3f'%(num ,num_sqrt))