I am perfectly aware of that..
sample=[[1,[1,0]],[1,1]]
[1,[1,0]] in sample
This will return True.
But what I want to do here is this.
sample=[[1,[1,0]],[1,1]]
[1,0] in sample
I want the return to be True, but this returns False. I can do this:
sample=[[1,[1,0]],[1,1]]
for i in range(len(sample)):
[1,0] in sample[i]
But I am wondering if there is any better or efficient way of doing it.