Add missing Python test coverage.
Solve problem 24 using Python.