Mahima has changed the third element of the list by the command
L[2]=45. Can you change the third element of the tuple T by giving a similar command, i.e. T(2)=45.Give reason for your answer
Answers
Answered by
1
No
Python tuple is an immutable object. Hence any operation that tries to update it is not allowed.
Answered by
0
Tuples are immutable i.e the value cannot be changed. So, Option D is correct.
Similar questions
Physics,
2 months ago
Environmental Sciences,
5 months ago
Biology,
11 months ago
Biology,
11 months ago