So Im just wondering why my code below is not functioning as expected,i want it to keep adding odd values to the odd count when given an odd number, likewise with the evens. but no matter what i put, it just adds it to the odd count. suggestions?
odd_value = 0
even_value = 0
x = int(input('enter'))
while x != 0:
if x == 3 or 5 or 7 or 9:
odd_value += x
elif x == 2 or 4 or 6 or 8:
even_value += x
x = int(input('enter'))
print('The sum of the odds is ',odd_value)
print('The sum of the evens is' ,even_value)