>>> def spammer(bag=None):
... if bag == None:
... bag = []
... bag.append("spam")
... return bag
...
>>> spammer()
['spam']
>>>