exercise3_python_solutions.pdf