thanks, in the end I'm using something like this and it works: zipPARApha = zip(Pampli, Pgamma, Pecut, Pb, g)
for n, (a1,b1,c1,d1,pha) in enumerate(zipPARApha): where the arguments of zip are lists of the same size. Gabriele 2014-02-17 11:19 GMT-05:00 Oscar Benjamin <oscar.j.benja...@gmail.com>: > On 17 February 2014 16:13, Gabriele Brambilla > <gb.gabrielebrambi...@gmail.com> wrote: > > No sorry, > > > > it's because my problem is not so simple: > > imagine that in a100 contains not integer sorted in a good way but a > random > > float numbers. > > How could I display only one item every 10? > > for n, a in enumerate(a100): > if n % 10 == 9: > print(a) > > > Oscar >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor