Python solutions.