Home / Programming MCQs / Python MCQs / Question

R

Ram Sharma • 178.09K Points
Coach

Q. Suppose a tuple arr contains 10 elements. How can you set the 5th element of the tuple to 'Hello'? 

(A) arr[4] = 'Hello'
(B) arr(4) = 'Hello'
(C) arr[5] = 'Hello'
(D) Elements of tuple cannot be changed

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.