__author__ = 'Avinash' num = float(input('Enter a number: ')) sqrt = num ** 0.5 print('The square root of %0.3f is %0.3f' % (num, sqrt))