[Tutor] looping problem
jim at well.com
Sat Sep 23 17:48:29 CEST 2006
keep a counter in your loop. is this a homework question?
On Sep 23, 2006, at 8:34 AM, kumar s wrote:
> the reason could be that I did not quite understand
> the concept of looping
> I have a list of 48 elements
> I want to create another two lists , listA and listB
> I want to loop through the list with 48 elements and
> select element with index 0,3,6,9,12 ..etc into listA
> select elements with index 2,5,8,11 etc into listB.
> Could any one help me how can I do that
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> Tutor maillist - Tutor at python.org
More information about the Tutor