How can you make copy of a list using

(a) copy()

 

Answer:

Code:

import copy

list1 = [ 12 , 1 , 3 , 4 , 12 , 8 , 9 , 12 ]

list2=copy.copy(list1)

 

[Lists Class 11] How can you make copy of a list using (a) copy() - Short Answer Type Questions (2 Marks each)

 

Remove Ads Share on WhatsApp
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science and Computer Science at Teachoo