list copy python deep or shallow code example Example: python deep copy list new_list = [i for i in old_list]