Demonstration of variable inspection in pdb. I’m using “longlist” at the beginning to display the source code used in the example. “p” stands for “print”, and “pp” for “pretty-print”.