Teaching Math with Python

Today I came across an article.

It reminded me of a  couple of books on teaching Math and Science with Python. I started Googling and here is what I found – a book written in 2015 on doing Math with Python.

While teaching a student who was baffled by his math lessons, Peter Farrell, a Python developer and mathematics teacher, decided to try using Python to teach the boy the math concepts he was having trouble learning.

Peter was inspired by the work of Seymour Papert, the father of the Logo programming language, which lives on in Python’s Turtle module. The Turtle metaphor hooked Peter on Python and using it to teach math.

Peter shares his approach in his new book, Math Adventures with Python: An Illustrated Guide to Exploring Math with Code.


After a bit of searching, I found a few more useful resources including a course –  Master Math by Coding in Python | Udemy 

Many people don’t know that Python is a really powerful tool for learning math. Sure, you can use Python as a simple calculator, but did you know that Python can help you learn more advanced topics in algebra, calculus, and matrix analysis? That’s exactly what you’ll learn in this course.

This course is a perfect supplement to your school/university math course, or for your post-school return to mathematics.

A bit of Googling shows that Python is not only being used to teach Math but also Science.