positivos = negativos = ceros = 0
for i in range(10):
    print("Ingrese 10 números")
    num = int(input())
    r= i+1
    if num > 0:
        positivos += 1
    elif num < 0:
        negativos += 1
    else:
        ceros += 1
print(f"Positivos: {positivos}, Negativos: {negativos}, Ceros: {ceros}")

Embed on website

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