title: Finding multiple occurrences of a string within a string in Python
body: <p>How do I find multiple occurrences of a string within a string in Python? Consider this:</p>
  
  <pre><code>&gt;&gt;&gt; text = "Allowed Hello Hollow"
  &gt;&gt;&gt; text.find("ll")
  1
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>So the first occurrence of <code>ll</code> is at 1 as expected. How do I find the next occurrence of it?</p>
  
  <p>Same question is valid for a list. Consider:</p>
  
  <pre><code>&gt;&gt;&gt; x = ['ll', 'ok', 'll']
  </code></pre>
  
  <p>How do I find all the <code>ll</code> with their indexes? </p>