numero = float(input("Ingresa un número: "))
if numero > 0:
print("El número es positivo.")
elif numero < 0:
print("El número es negativo.")
else:
print("El número es cero.")
To embed this project on your website, copy the following code and paste it into your website's HTML: