my code is about :count how many values are even , positive , negative and it's not working : thanks for your help
e = [ ]
for c in range(5):
c=float(input())
if c<0:
e.append(c)
print("{} valor(es) negativo(s)".format(len(e)))
if c>0:
e.append(c)
print("{} valor(es) positivo(s)".format(len(e)))
if c%2!=0:
e.append(c)
print("{} valor(es) par(es)".format(len(e)))
if c%2==0:
e.append(c)
print("{} valor(es) impar(es)".format(len(e)))
i want the o/p like this :
3 valor(es) par(es)
2 valor(es) impar(es)
1 valor(es) positivo(s)
3 valor(es) negativo(s)
when i enter the five ( int )nos and exit when input==4