Computer Science, asked by ishari1981, 4 months ago

Write a program to initialise a list in python then perform the following operation s. 1) Insert a element in the index
2 , remove the last element off the list , insert element at the last of the list.​

Answers

Answered by madhalaimuthucharlas
1

Answer:

L = [1, 2, 3, 4, 5]

L.insert(2, 6)

L.pop()

print (L)

Similar questions