Update Python Problem 30