list example
Wojciech Muła
wojciech_mula at poczta.null.onet.pl.invalid
Sat Apr 22 16:38:15 EDT 2006
PAolo wrote:
> any comment, suggestion? Is there something not elegant?
Try this:
even = range(10)[0::2]
odd = range(10)[1::2]
More information about the Python-list
mailing list