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
1
Answer:
L = [1, 2, 3, 4, 5]
L.insert(2, 6)
L.pop()
print (L)
Similar questions
English,
1 month ago
Psychology,
1 month ago
Social Sciences,
3 months ago
Economy,
3 months ago
Math,
9 months ago
Physics,
9 months ago
Math,
9 months ago