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