This repository contains selected exercises from A Primer on Scientific Programming with Python by Hans Petter Langtangen adapted to a Jupyter notebook format.