Q. Which of the following is NOT a valid way to copy a list in Python?

निम्नलिखित में से कौन सा पायथन में किसी सूची की प्रतिलिपि बनाने का वैध तरीका नहीं है?

A
copy.copy(list)
B
list[:]
C
list.copy()
D
list.clone()

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment