Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 52)
52.
What is the purpose of the list.copy() method in Python?
Creates a deep copy of the list.
Creates a shallow copy of the list.
Copies elements from one list to another.
Concatenates two lists.
Answer: Option
Explanation:
The copy() method in Python lists is used to create a shallow copy of the list.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.