I have a list containing two words
list = ["the","end"]
I have a list of tuples such as this
bigramslist = [ ("the", "end"), ("end", "of"), ("of", "the"), ("the", "world") ]
Is it possible to systematically go through each tuple in the bigramslist and see if both words in the list match any of the tuples in the bigramlist. And if so return true?
thanks