Monty @ The Python Coding Place @thepythoncodingplace.com · Feb 24

It's the first time you call the function, but the list already has a value in it—the one you added when you accessed the "default" list through the `function` object. This list, `output`, is the same one you appended to earlier: /5

1 likes 1 replies

?

Replies

Monty @ The Python Coding Place · Feb 24

There's only one list, one that was created when you defined the function, not each time you call it. This default list is attached to the `function` object and it's the same one that's used each time you call the function and you need to use the default value. /6