mathspp blog

401 437,500 36,874
articles words lines of code

Can you tile a chessboard with two missing squares?

How many queens and knights can you place on a chessboard?

Today I learned that the module contextlib provides with a context manager to suppress specified errors.

Let me tell you why it is impossible to truly master Python, but also show you how to get as close to it as possible.

This article is an in-depth analysis of Python solutions to the “Sonar Sweep” problem, which is day 1 of Advent of Code 2021.