LEVEL 6Mixed challenges
PYTHON, PLOT TWIST! Q51
Conditional expression precedence
What’s the output? Think first. Trust your brain.
question_51.pyPython 3
1a = 102b = 203print("A" if a > b else "B")4print(5 "A" if a > b6 else "B" if b > 157 else "C"8)
Choose your character.

A or B? Let the condition decide.
a very python moment