How to start a loop with a specific iterator
<p>I want to loop through a list in serveral loops always starting with the item of the last loop:</p>

<pre><code>import itertools as it
list1=[1,2,3,4,5,6,7,8]
a=iter(list1)
while a.next()!= 8:
    a,b=it.tee(a) #copy the iterator
    while b.next()!=8:
        b,c=it.tee(b)
        while c.next()!=8:
            print "yaaay"
</code></pre>

<p>in this code I can start my loop with the current iterator of the outerloop. How to do this in a more pythonic way not using slice? </p>

<p>here is an examble of what I'm thinking of a more pythonic way:</p>

<pre><code>list1=[1,2,3,4,5,6,7,8]
a=iter(list1)
for k1 in list1:
    for k2=k1 in list1:
        for k3=k2 in list1:
            print "yaaay"            
</code></pre>
