Q31
What is the output of the following Python code: array = [1, 2, 3]; print(array[-1])
A.
1
B.
2
C.
3
AnswerD.
IndexError
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board