Following is a program to find out the Square Root of an integer :
x = int(input("Enter a number\n")) sqr_root = x**0.5 print(sqr_root,"is the square root of the given number.")
x is an Integer
\n – it is used to create a new line
Following is a program to find out the Square Root of an integer :
x = int(input("Enter a number\n")) sqr_root = x**0.5 print(sqr_root,"is the square root of the given number.")
x is an Integer
\n – it is used to create a new line