I am learning python and struggling with this so please help. out of 4 different user input integers, I want to print 'False' if there's a single odd or an even integer in the list. say if user inputs 1,1,2,2, = true... but 1,1,1,2, or 1,2,2,2 = false
my attempt was to check if only one in the list divisible by two (or not) to return false.
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a or b or c or d % 2 == 0:
print ('FALSE')
elif a or b or c or d % 2 != 0:
print('FALSE')
else:
print('TRUE')
please help a guide to clean my mess or understanding .. thank you!