Programs & Examples
Tricky Python Output Questions · Study material
All five traps in action
The Introduction tab has one runnable program per trap. Press Run on each, change one line, and predict the new output before running it again.
Check your own answers
Every output question on this page shows the program's real output once you reveal the answer, and Run opens it in the online Python compiler.