Learn Before
Concept
copy()
The built-in function returns a shallow copy of the list.
Note: my_list.copy() is equivalent to my_list[:]

0
1
Updated 2021-05-19
Tags
Python Programming Language
Data Science
copy()
The built-in function returns a shallow copy of the list.
Note: my_list.copy() is equivalent to my_list[:]

0
1
Tags
Python Programming Language
Data Science