In my Python programming course, we are discussing how to manipulate (add,subtract,etc.) arrays and sub-arrays. An example from class was if we had
ourArray = [['a','b','c'],['e','f','g','h'],['i','j'],['k','l','m','n','o','p']...]
and Array = ['a','e','i','k',...], would something like ourArray-Array be possible?
I tried
for w in ourArray:
w[0] - Array[0]
In the end, what I would like is
[['a','b','c'],['e','f','g','h'],['i','j'],['k','l','m','n','o','p']...] - ['a','e','i','k',...] = ['b','c'],['f','g','h'],['j'],['l','m','n','o','p']...].
Also, I am using Python 3 in Windows.