. . . . . "However, for mutable types such as lists and dictionaries, functions can certainly modify their arguments, as in this example: def foo(lst): lst.append(beer)y = [wine]foo(y) # y is now [wine, beer] Python advertises its support for first-class functions, but I can not seem to get closures to work." . .