Question: Suppose you are defining a tuple given below: tup = ( 1 , 2 , 3 , 4 , 5 ) Now, you want to

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?Choose onty ONE best answer.Atup(2)=10Btup[2]=10Ctup[2]=10DNone of these

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!