LEVEL 6Mixed challenges
PYTHON, PLOT TWIST! Q50
Mixed arithmetic and Boolean values
What’s the output? Think first. Trust your brain.
question_50.pyPython 3
1a = 42b = 03print(a > b and a % 2 == 0)4print(a < b or a // 2 == 2)5print(not (a % 2) and bool(b))
Even number detective.

Logic is on the case.
a very python moment