Computer Science, asked by baaphu26, 5 months ago

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 jai696
1

\huge\red{\mid{\fbox{\tt{ANSWER}}\mid}}

No

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

Python tuple is an immutable object. Hence any operation that tries to update it is not allowed.

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by Anonymous
0

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

Similar questions
Math, 5 months ago