added solution for 1.1.py