Some fun with the math module:


Solution P2.2.2