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

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