Given two lists:
chars = [\'ab\', \'bc\', \'ca\'] words = [\'abc\', \'bca\', \'dac\', \'dbc\', \'cba\']
how can you use list comprehensions to
>>> [word for word in words if all(l in chars[i] for i, l in enumerate(word))] ['abc', 'bca']