During my time as a cognitive neuroscience researcher, I spent much of my time analysing large carrying out statistical analysis of large high-dimensional data (time series of fMRI brain images), using statistical models (GLMs) and machine learning (SVMs and neural networks). Much of this work was done in Python, using libraries such as NumPy and scikit-learn. As part of my teaching, I wrote tutorial code illustrating such approaches.
More recently, as a math teacher, I have written tutorial code aimed at explaining key math concepts. I especially like using code to illustrate concepts visually. Below are some examples.
Tutorial python code running in the browser via Google Colab.
PyTurtle examples to illustrate math concepts, running in the browser via trinket.io.