Minor addition to the Python solution to problem 62