this loop
for i in odd_list:
my_list.remove(i)
removes ALL ODD numbers from my_list
print(my_list) [10, 12, 14, 18]
Part 4: function word_index creates a new list of indexes. Each entry in this list indicates the location of word in my_list
:the output: print(index_new) prints [0, 2, 4, 5, 7]
Solution is HERE
Solution is HERE