title: String contains all the elements of a list
body: <p>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 in the list occur in the string. </p>
  
  <hr>
  
  <p>This seemed fairly simple. However, I am facing some difficulties with it. The code goes something like this:</p>
  
  <hr>
  
  <pre><code>def myfun(str,list):
     for a in list:
        if not a in str:
           return False
        return True
  </code></pre>
  
  <hr>
  
  <pre><code>Example : myfun('tomato',['t','o','m','a']) should return true
            myfun('potato',['t','o','m','a']) should return false
            myfun('tomato',['t','o','m']) should return true
  </code></pre>
  
  <hr>
  
  <p>Also, I was hoping if someone could suggest a possible regex approach here. I am trying out my hands on them too.</p>