Files
2017-03-24 19:46:50 -06:00

8 lines
126 B
Python

a = [1,2,3,4,5]
print a
print 'Address of a is: {}'.format(id(a))
a[0] = 6
print a
print 'Address of a is: {}'.format(id(a))