Examveda

What is the output of the following Python code: array = [1, 2, 3]; print(array[-1])

A. 1

B. 2

C. 3

D. IndexError

Answer: Option C


This Question Belongs to Data Structure >> Arrays In Data Structures

Join The Discussion

Related Questions on Arrays in Data Structures