Selasa, 17 Maret 2009

fuction

a = [1,2,3,4,5]
def foo(x):
x[3] = -55 # Modify an element of x
foo(a) # Pass a
print a # Produces [1,2,3,-55,5]

Tidak ada komentar:

Posting Komentar