On occasion, I find myself teaching Python, usually while in the process of teaching differential equations, statistics, discrete mathematics, or business. This project uses a nice game that animates Python commands as it highlights the individual lines of code. My hope is both to create a resource that others can use to learn Python and also to demonstrate a little bit of my coding style with some visually pleasing examples.

In order to avoid spoiling the whole game, I won’t be presenting solutions to every challenge, and many other solutions (perhaps better ones) are possible. The main coding ideas illustrated are proper commenting, the development of functions as tools, the development of processes that use those tools, and the development of systems that use those processes.

Also, included will be examples of tuning parameters by minimizing the mean plus the standard deviation of runtimes.