Python, Plot Twist!
Operator adventures·60 questions

Python Predict Output — playful Python challenges

Read each Python snippet, predict what it prints, then reveal the answer and the plot twist behind it. Built for classrooms and curious students.

Level 1/Precedence & evaluationClassroom edition
LEVEL 1Precedence & evaluation
PYTHON, PLOT TWIST!
Q03

Floor division with negative numbers

What’s the output? Think first. Trust your brain.

question_03.pyPython 3
1print(-17 // 5)2print(17 // -5)3print(-17 % 5)4print(17 % -5)
PREDICT. DISCUSS. REVEAL.YOUR BRAIN’S GOT THIS.03 / 60
SPEAKER NOTESQuestion 3