number = float(input("Enter a number: "))
if number >= 0:
print(number**0.5)
I hope this helps!
9.3m questions
12.0m answers