is there a method in python that would check for that and it has to be in the same order.
a = ['a', 'b', 'c']
b = ['b', 'c']
if a contains b:
c = remove b from a
c = ['a']
and if b = ['c', 'b']
c should be equal to a, c = ['a', 'b', 'c']
Thank you so much for your help in advance!