> for a, b in zip(*[iter(pop)]*2): In the python documentation there is a similar example, well, the obscure thing here is the usage of *[iter(pop)]! Then I believe that I can safely say that you iterate over the values 0 and 1, 2 and 3 etc. because the zip automatically updates the index, in this case using the same sequence the index counter is shared and the second sequence start from that shared counter. Am I right? -- http://mail.python.org/mailman/listinfo/python-list
- Re: Roulette wheel Peter Otten
- Re: Roulette wheel mattia
- Re: Roulette wheel mattia
- Re: Roulette wheel Peter Otten
- Re: Roulette wheel mattia
- Re: Roulette wheel Peter Otten
- Re: Roulette wheel mattia
- Re: Roulette wheel mattia
- Re: Roulette wheel Peter Otten
- Re: Roulette wheel Peter Pearson
- Re: Roulette wheel mattia
- Re: Roulette wheel Peter Pearson
- Re: Roulette wheel mattia
- Re: Roulette wheel Aahz
- Re: Roulette wheel mattia
- Re: Roulette wheel Aahz
- Re: Roulette wheel mattia
- Re: Roulette wheel Gabriel Genellina
- Re: Roulette wheel mattia
- Re: Roulette wheel Gabriel Genellina
- Re: Roulette wheel Scott David Daniels