# Python Program to calculate the square root of a number # Take the input from the user through keyboard number = float(input("Enter a number")) number_sqrt = number ** 0.5 print('The square root of %0.3f is %0.3f'%(number ,number_sqrt))
Enter a number 4
The square root of 4.000 is 2.000
Silan Software is one of the India's leading provider of offline & online training for Java, Python, AI (Machine Learning, Deep Learning), Data Science, Software Development & many more emerging Technologies.
We provide Academic Training || Industrial Training || Corporate Training || Internship || Java || Python || AI using Python || Data Science etc