Kizspy | Question: 18
(Choose 1 answer)
Suppose you are defining a tuple given below:tup = (1, 2, 3, 4, 5)
Now, you want to update the value of this tuple at 2nd index to 10. Which of the following option will you choose?
A. tup(2) = 10
B. tup[2] = 10
C. tup{2} = 10
D. None of these