exercise4_python.pdf