Log in or register to post comments Below code will output: [1, 2, [3, 4, 'goodbye']] mylist = [1,2,[3,4,'hello']] mylist[2][2] = 'goodbye' mylist Related Content Python Tutorial NumPy Tutorial Pandas Tutorial Tags Python Data Structure Interview Questions Python Interview Questions