kumar s wrote:
> [snip]
> so I want to select 0,3,6,9 elements into listA
> and 2,5,8,11 and so on elements into listB
>
>   
Here's a hint:

for j in range(0, len(biglist), 3): # this will set j = 0, 3, 6, etc.

-- 
Bob Gailer
510-978-4454

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to