created ex06.py