In this program, we store the number in num and find the square root using the ** exponent operator. This program works for all positive real numbers. But for negative or complex numbers,
Source code:
num = int(input("square root of "))
num2 = int(num**0.5)
print('square root of a given no is = ' , num2)
______________________________________________
sorry for bg noice