How to get certain amount of elements from a list iteratively in python : <p>Assume I have a list </p>

<pre><code>l= [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
</code></pre>

<p>I want to have a permutation, that after each run gives me a new list, which contains only three elements from the main list and those list should occurs only once. E.g.</p>

<pre><code>l1= [1,2,3]
l2= [1,2,4]
l3= [1,2,5]
...
l8= [1,2,10]
l9= [1,3,4]
l10= [1,3,5]
l11= [1,3,6]
...
ln= [8,9,10]
</code></pre>

<p>How can I do something like this in python?
Thanks you!</p>
