Category Archives: Python

Number of Days Between Easter’s

My three year old asked me a pretty interesting question this morning, “how many sleeps is it until next Easter?”

Posted in Mathematics, Python | Tagged | Leave a comment

Probability of World Cup Group Draw

The lineup for the 2018 FIFA World Cup is now complete, and the teams have been sorted into pots ahead of the group stage draw on December 1st. All draws are not equally likely, so what teams is your team … Continue reading

Posted in Football, Python | 7 Comments

Distribution of Pancake Day

Today is pancake day and it got me thinking about the fact that I remember the day falling on my birthday (March 7th) just once in my lifetime. How long will I have to wait until it next falls on … Continue reading

Posted in Mathematics, Python | Tagged , , | Leave a comment