def foo(x, y, z): z = 42 x = 42 y = 100500 foo()