Someone on Reddit pointed out that today (Dec 22nd) is Ramanujan’s 129th birthday. One of the commenters further pointed out … More

# Category: 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 … More

# Number guessing game

The number guessing game incorporates several simple but important elements of elementary programming and is a good candidate for an … More

# 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 … More

# Compute Average Heights

This is a simple program to compute average heights. In a loop, it prompts the user for heights, inputs a text … More

# Binary Search

Binary Search is one of the most fundamental computer algorithms. Given an ordered list of some data (names, numbers, …) … More

# FizzBuzz

This is apparently a well-known interview question (but not one I was ever asked). Print the numbers 1 to 100, … More