Python Puzzlers

Python Puzzlers

Inspired by the "Java Puzzlers" book and series of talks, this is a set of 6 puzzles that expose some pitfalls and oddities in the Python programming language. For each puzzle, you're given some Python code, and your task is to figure out what happens when the code is run. I added in a few annotations to make the slides a little more self-contained.

There are other similar talks on the internet also called "Python Puzzlers", and this talk is unrelated to all of those.


Alan Pierce

October 08, 2014