More Python solutions