positivos=0
negativos=0
ceros=0

for n in range(1, 11):
    num=float(input(f"Ingrese el número #{n}: "))
    
    if num > 0:
        positivos += 1
    elif num < 0:
        negativos += 1
    else:
        ceros += 1

print("Resultados:")
print(f"Positivos: {positivos}")
print(f"Negativos: {negativos}")
print(f"Ceros: {ceros}")

Embed on website

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