I am trying to reassign 'hello' with 'goodbye' in the list, but the reassigning is happening at incorrect positions
Using Jupyter Notebook
list3 = [1,2,[3,4,'hello']]
list3[2][2]= 'goodbye'
list3
[1, 'goodbye', [3, 4, 'goodbye']]
I am gettig the above result. I only want to reassign 'hello'.