I was actually teaching and i ran into some strange behaviour. My code is as follows: a=7 b=8 c=7 print(a==c | a==b) print((a==c) | (a==b)) and i got false for the First statement and True for the second. Is it intended to behave like this? Continue reading...