TÓPICO
Wrong answer 5%
cneris0 perguntou 5 years ago
Submeto a resposta porem o URI retorna wrong answer , todas as saidas estao certas. O que pode esta causando o erro?
cont = 0 cont1 = 0 cont2 = 0 cont3 = 0
for i in range(0,5): valor = int(input())
if valor % 2 == 0: cont+=1 elif valor % 2 == 1: cont1+=1 if valor > 0: cont2+=1 elif valor < 0: cont3+=1
print('{} valor(es) par(es)'.format(cont)) print('{} valor(es) impar(es)'.format(cont1)) print('{} valor(es) positivos(s)'.format(cont2)) print('{} valor(es) negativos(s)'.format(cont3))
Este tópico ainda não foi respondido. Seja o primeiro!