python function ans list copy code example Example: python copy list a=[1,2,3,4] b=a[:] ''' now b has all elements of a'''