The Python challenge answer