What will be the output of the following code?
letters = ['a', 'b']
letters.append('c')
letters.insert(1, 'd')
letters.insert(2, 'e')
letters.append('f')
print(letters)What will be the output of the following code?
letters = ['a', 'b']
letters.append('c')
letters.insert(1, 'd')
letters.insert(2, 'e')
letters.append('f')
print(letters)Create a free account to access the full topic