Conway's Doomsday Algorithm

This is a toy implementation of Conway's Doomsday Algorithm. It's an interesting algorithm because with a bit of mental arithmetic, you can calculate the day of the week for any date in the Gregorian calendar.

The mathematician John Conway - famous for his Game of Life - devised it. Here is a basic Python implementation.

Further reading