Integer and floating point examples from Learning Programming
Exercises 1-8 in Python the Hard Way