Home » python list python list Posted Friday, May 10, 2019 by kai python list are passed by referencea=b=[1,2,3]id(a)==id(b) returns truei.e they have same memory addressmodifying a also modifies b.to make copy list use copy() or new=old[:]