I have an list of integers:
x = [0, 1, 3, 5, 6, 7, 33, 39, 49, 51, 11,
32, 55, 61, 31, 44, 43, 4, 45, 30, 50, 41]
And second list that can only contain elements from x
,
for example: y = [44, 11, 49]
I need to find the index of each element of y
in x
.