# Mathspp Blog

### A blog dedicated to mathematics and programming!

This blog has a really interesting assortment of articles on mathematics and programming. You can use the tags to your right to find topics that interest you, or you may want to have a look at

You should also subscribe to the blog newsletter.

##### Look-and-say sequence

We discuss the look-and-say sequence, its behaviour, variations of it, and a Python implementation.

##### TIL #037 – pandas Series

Today I learned about the fundamental pandas data type Series.

##### TIL #036 – pandas show_versions

Today I learned how to use the function pandas.show_versions to get system diagnostic information.

##### TIL #035 – run black formatter on pre-commit

Today I learned how to run the black Python code formatter as a pre-commit hook on git.

##### Enumerate from first principles

In this article we reimplement the built-in enumerate in the best way possible.

##### TIL #029 – True is equal to 1

Today I learned that True is equal to 1 and False is equal to 0.

The Zen of Python says “there should be one -- and preferably only one -- obvious way to do it”, but what if there's a dozen obvious ways to do it?

##### TIL #028 – disassemble Python.

Today I learned how to disassemble Python code with the module dis.

##### TIL #027 – get rich with Python.

Today I learned how to use the package rich by Will McGugan.

##### Elo rating system simulation

Join me as I create a simulation that tries to test an Elo-based rating system for quizzes.

##### TIL #026 – web apps with streamlit

Today I learned that you can build web apps with Python using streamlit.

##### TIL #025 – reversed emoji flags

Today I learned that the reverse of some flag emoji are other flags!

##### TIL #024 – cooking with asyncio

Today I learned how to cook with asyncio and async code in Python.

##### Chatroom server tutorial

Create a simple chatroom server in Python by following along this tutorial series.

##### TIL #023 – how to use namedtuple

Today I learned how to use the namedtuple from the module collections.

##### TIL #022 – Python module selectors

Today I learned about the Python module selectors to manage multiple socket connections.

##### Sockets for dummies

Dive into the world of socket programming with this Python tutorial that assumes 0 prior experience.

##### TIL #020 – open(0)

Today I learned you can read from stdin with open(0).

##### TIL #019 – sockets

Today I learned the basics of socket programming (in Python).

##### Solving Wordle with Python

In this article we try to crack Wordle, a variation of mastermind played with (English) words.