Respuesta :

number = float(input("Enter a number: "))

if number >= 0:

   print(number**0.5)

I hope this helps!