title: Find indexes of sequence in list in python
body: <p>I am quite new and I hope it's not too obvious, but I just can't seem to find a short and precise answer to the following problem.</p>
  
  <p>I have two lists:</p>
  
  <pre><code>a = [2,3,5,2,5,6,7,2]
  b = [2,5,6]
  </code></pre>
  
  <p>I would like to find when all the indexes of the second list (<code>b</code>) are in the first list (<code>a</code>), so that I get something like this:</p>
  
  <p>indexes of b in a: <code>3, 4, 5</code> or <code>b = a[3:6]</code></p>