print('positivo o negativo')
numero = float(input("dame 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")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: