?
What will be the output of the following Python code?
What will be the output of the following Python code?
l1=[1, 2, 3, [4]]
l2=list(l1)
id(l1)==id(l2)
l1=[1, 2, 3, [4]]
l2=list(l1)
id(l1)==id(l2)
Join the Discussion
Login to post a comment or share your explanation.
Login