Is there alternative way to do it without using function pop ?
Input :a_list = [1,2,3,4,5,6,7]
a_list.pop(1)
Output : a_list = [1,3,4,5,6,7]
I have tried something but it says TypeError: 'list' object is not callable
after my try
Is there alternative way to do it without using function pop ?
Input :a_list = [1,2,3,4,5,6,7]
a_list.pop(1)
Output : a_list = [1,3,4,5,6,7]
I have tried something but it says TypeError: 'list' object is not callable
after my try