Q49
What will be the output of the following Python code? a= a[2]=1 a[1]=[2,3,4] print(a[1][1])
A.
[2,3,4]
B.
3
AnswerC.
2
D.
An exception is thrown
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board