Category: Numbers

1729
Posted in Basic 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

Posted in Beginner Numbers

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)

Posted in Basic Numbers

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

Posted in Basic Numbers

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

Posted in Beginner Numbers

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

Posted in Basic Numbers

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

Posted in Basic Numbers

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