Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5)?
(a) 0
(b) 1
(c) 4
(d) 2
This question was addressed to me by my school principal while I was bunking the class.
This interesting question is from Lists in section Lists & List Comprehension of Python