I mistakenly wrote the line of code, I expected it to give me an error but it returned an answer.
Codx = [num for num in range(1,9) if num & 2 = 0]
Print (codx)
I got the answer [1,4,5,8]
Then I did
Print(3&2)
Answer was 2
Print(5&2)
Answer was 0
What’s the role of the ampersand?