πŸ“Š Python
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

πŸ‘οΈ
156
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate