Update Python Problem 48