What is the output of the following code ?
>>> s1 = [11, 123, 36, 45, 34, 45, 67] >>> s1.index(45)
0
1
2
3
s1.index(45) gives the index of element 45 in s1 which is 3
Comment here: