Category: Numbers
Ramanujan’s 129th Birthday
Someone on Reddit pointed out that today (Dec 22nd) is Ramanujan’s 129th birthday. One of the commenters further pointed out… read more Ramanujan’s 129th Birthday
Have we already seen this number? (deja vu again)
I had a phone interview for a Python job the other day. It started out really well, he was very… read more Have we already seen this number? (deja vu again)
Number guessing game
The number guessing game incorporates several simple but important elements of elementary programming and is a good candidate for an… read more Number guessing game
Playing in Python with Pickover’s Premise per Pi
My favourite tweeter is Clifford A. Pickover. His tweets are delightful nuggets of math, physics & more. I have a copy… read more Playing in Python with Pickover’s Premise per Pi
Compute Average Heights
This is a simple program to compute average heights. In a loop, it prompts the user for heights, inputs a text… read more Compute Average Heights
Binary Search
Binary Search is one of the most fundamental computer algorithms. Given an ordered list of some data (names, numbers, …)… read more Binary Search
FizzBuzz
This is apparently a well-known interview question (but not one I was ever asked). Print the numbers 1 to 100,… read more FizzBuzz






