exercise6_python.pdf