Given two lists:
chars = [\'ab\', \'bc\', \'ca\'] words = [\'abc\', \'bca\', \'dac\', \'dbc\', \'cba\']
how can you use list comprehensions to
A more simple approach:
yourlist = [ w for w in words for ch in chars if w.startswith(ch) ]