Update problem 4.py