def foo(bar): bar.append() def baz(): foo(['hello', 'world'])