I have two lists.
x=['billed_qty','billed_amt','sale_value']
y=['george billed_qty', 'sam billed_amt', 'ricky sale_value', 'donald billed_qty']
I need to eliminate the words in list y that occur in list x and want the resultant list as:
z=['george','sam','ricky','donald']
How can I achieve this?
Thanks