a = int(input("enter a real number: "))
sqrt = a**(1/2)
print("the square root of ",a ,"is",sqrt)
import math
answer = math.sqrt(16)
import math
whose_square = int(input("Of which number to find square root:- "))
print("The square root of ", whose_square,"is",math.sqrt(whose_square))
# Method 1
from math import sqrt
root = sqrt(25)
# Method 2, more efficient in my opinion*
root = 25 ** (1/2) # If you did not learn this yet in math, by making a fraction to the power of the number, you repeat the multiplication by the numerator but find the root of the denominator in the exponent.