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

Reply via email to