The semantics of argument passing : Parameter : Function PYTHON TUTORIALS


PYTHON TUTORIALS » Function » Parameter »

 

The semantics of argument passing


def f(x, y):
    x = 23
    y.append(42)

a = 77
b = [99]
f(a, b)
print a, b



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Function
» Parameter