Vidyalelo
Python · Q24

Functions in Python

Programming · Python · question 24

Q24

What will be the output of the following Python code? l1=[1, 2, 3, [4]] l2=list(l1) id(l1)==id(l2)

A.
True
B.
False
Answer
C.
Error
D.
Address of l1

Answer: Option B

Solution

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