I'm trying to code if three numbers are even, odd, or neither (when the numbers have an even AND odd in the input). I'm just stuck since every time it outputs "odd" no matter the numbers. Here's my code so far:
msg = input("Enter a,b,c: ")
nums = msg.split(',')
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
if (a, b, c % 2) == 0:
print("even")
else:
print("odd")
my professor mentioned using tuples but I don't know where to incorporate it. Any help is appreciated!