MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the code shown below? l1=[10, 20, 30, [40]] l2=copy.deepcopy(l1) l1[3][0]=90 l1 l2 |
| A. | [10, 20, 30, [40]] [10, 20, 30, 90] |
| B. | Error |
| C. | [10, 20, 30 [90]] [10, 20, 30, [40]] |
| D. | [10, 20, 30, [40]] [10, 20, 30, [90]] |
| Answer» D. [10, 20, 30, [40]] [10, 20, 30, [90]] | |