To make a true copy of list L1

(a) L2=L1

(b) L2= list(L1)

(c) L2.copy(L1)

(d) not possible

 

Answer:

The list( ) method is used to make a true copy of a list.

So, the correct answer is (b).

Ask a doubt
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, Social Science, Physics, Chemistry, Computer Science at Teachoo.