πŸ“Š Python
Q. How to copy one list to another in python?
  • (A) l1[] = l2[]
  • (B) l1[] = l2
  • (C) l1[] = l2[:]
  • (D) l1 = l2
πŸ’¬ Discuss
βœ… Correct Answer: (C) l1[] = l2[:]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
194
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate