PAolo wrote:
> any comment, suggestion? Is there something not elegant?

Try this:

even = range(10)[0::2]
odd  = range(10)[1::2]

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to