Mega Code Archive
Categories
/
Python Tutorial
/
Function
The semantics of argument passing
def f(x, y): x = 23 y.append(42) a = 77 b = [99] f(a, b) print a, b