Write a program to Remove the item at the given index from the list and returns the removed item


Topic: Write a program to Remove the item at the given index from the list and returns the removed item

Solution

my_list1 = [4,3,2,9,10,44,1,9,12]
index = 4
print(f"Sum of two list:,{my_list1.pop(index)}")



List all Python Programs