Vidyalelo
Python · Q116

Functions in Python

Programming · Python · question 116

Q116

Which type of copy is shown in the following python code? l1=[[10, 20], [30, 40], [50, 60]] ls=list(l1) ls [[10, 20], [30, 40], [50, 60]]

A.
Shallow copy
Answer
B.
Deep copy
C.
memberwise
D.
All of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board