Python Program to Find the Square Root
In this program, you’ll learn Python Program to Find the Square Root.
n = int(input("Enter a number: ")) if n == 'x': exit() else: number = int(n) number_sqrt = number ** 0.5 print("Square Root of %0.2f is %0.2f" %(number, number_sqrt))
Output: