title: List all combinations of combinations
body: <p>I am trying to list out all the possible combinations of groups of 3 that one can make of 6 people. <code>(A, B, C, D, E, F)</code> </p>
  
  <ul>
  <li>The order doesn't of the group doesn't matter</li>
  <li>The order of the pair doesn't matter</li>
  </ul>
  
  <p>Possible combinations:</p>
  
  <pre><code>{(B,D),(C,E),(G,H)}
  
  {(B,C),(D,E),(G,H)}
  
  {(B,E),(C,D),(G,H)}
  </code></pre>
  
  <p>I could only get as far to write:</p>
  
  <pre><code>from itertools import combinations
  x = combinations('ABCDEF', 2)
  z = [y for y in x]
  </code></pre>
  
  <p>I have no idea on how I should create combinations out of combinations, the docs is not to much help. I think I have to someone create an algorithm from scratch.</p>
  
  <ul>
  <li>I know that there should be 15 total combinations to list </li>
  </ul>