What will be the output of the following code:
t = (1, 2, 3, 4, 5)
t = t[::-1]
t = t.index(2)
print(t)
a. 0
b. 1
c. 2
d. 3
Answer:
Answer by student
d. 3
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.