title: Checking if a list contains a certain sequence of numbers
body: <p>I have a list of 5 ints from 1 to 6 (simulating 5 dice rolling), randomly generated for example:</p>
  
  <pre><code>L = [1,2,3,4,5]
  </code></pre>
  
  <p>and I want to check that if this list when sorted, contains either</p>
  
  <pre><code>[1,2,3,4] or [2,3,4,5] or [3,4,5,6].
  </code></pre>
  
  <p>How would I go about checking if list L contains any of the 3 combinations?
  I don't want to have to go through and check if </p>
  
  <pre><code>L[i] == l1 [i],  L[i]== l2 [i],  L[i]== l3 [i]
  </code></pre>
  
  <p>for int in the list. I feel like its just a simple question of asking if the list contains either of the other lists or something. I'm just having trouble connecting the dots and its not clicking for me. Any help would be appreciated.</p>