I want to compare two lists of the same length by their elements with an OR.
>>> [0,0,1,1,0] or [1,1,0,1,0][0, 0, 1, 1, 0]
I want the outcome to be
[1,1,1,1,0]
How can I achieve the desired comparison?
I want to compare two lists of the same length by their elements with an OR.
>>> [0,0,1,1,0] or [1,1,0,1,0][0, 0, 1, 1, 0]
I want the outcome to be
[1,1,1,1,0]
How can I achieve the desired comparison?