I'm not sure why my list is not deleting every char that is indexed based on a second List. Below is the code:
L1 = ['e', 'i', 'l', 'n', 's', 't']
L2 = ['e', 'i', 'l', 'n', 's', 't']
for n_item in range(len(L1)):
    if L1[n_item] in L2:
     del L2[n_item]
Below is the error that I'm getting:
 Traceback (most recent call last):
 File "<pyshell#241>", line 3, in <module>
 del L2[n_item]
 IndexError: list assignment index out of range
Thanks for any help ....
 
     
     
    