Mathspp Blog

333 384,668 31,936
articles words lines of code

Can you tile a chessboard with two missing squares?

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

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

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.