Q. Which method can be used to return a copy of a list?

  • (A) copy()
  • (B) clone()
  • (C) replicate()
  • (D) listcopy()
πŸ’¬ Discuss
βœ… Correct Answer: (A) copy()
Explanation: The `copy()` method returns a shallow copy of the list.
Explanation by: Mr. Dubey
The `copy()` method returns a shallow copy of the list.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
196
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate