Returns an integer that may serve as the identity of an object.
In [18]: a = [1,2,3] In [19]: b = a In [20]: id(a) Out[20]: 138930700 In [21]: id(b) Out[21]: 138930700
That means 'b' is not a copy of 'a' but a reference to 'a'.