I am shifting to Python, and am still relatively new to the pythonic approach. I want to write a function that takes a string and a list and returns true if all the elements
>>> all(x in 'tomato' for x in ['t','o','m','a']) True >>> all(x in 'potato' for x in ['t','o','m','a']) False