Create exercise 3_10.py