Update Python Problem 22