I'd like to check if all elements within my list are equal to a certain value (that being, '1'). For example:
check_a = False
check_b = False
check_c = False
a = [0, 0, 0, 0, 0]
b = [0, 1, 1, 0, 0]
c = [1, 1, 1, 1, 1]
if all in a == 1:
check_a = True
elif all in b == 1:
check_b = True
elif all in c == 1:
check_c = True