Write a program to find square root of a number

 Q. Write a program to find square root of a number.

Code:-

num = eval(input("Enter a number:"))
num_sqrt = num**0.5
print("The square root of",num,"is",num_sqrt)

Output:-



Comments