Third problem solved in Python