So say I have
x = [1,2,3,4,5,6] y = [2,3,4]
Is there a way to check if y is in x exactly in the order that it's in?
y
x
so like an if statement that would be true if y is in x?
true