Question
What is the output of the following code?import copya=[10,23,56,[78]]b=copy.deepcopy(a)a[3][0]=95a[1]=34print(b)
Answer: Option B
Was this answer helpful ?
The above copy is deepcopy. Any change made in the original list isn't reflected.
Was this answer helpful ?
Submit Solution