Complete list1.py exercises.