World Languages, asked by vishalpawarvp628, 4 months ago


44. 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

Answers

Answered by Anonymous
34

Tuples are immutable i.e the value cannot be changed. So, Option D is correct.

Similar questions