> What would be the most Pythonic way 

THats always going to be subjective but...

> of printing (or extracting) every 
> other element of a list? 

I'd probably use range with a step of 2.

for index in range(0,len(mylist),2):
   ptint mylist[index]

Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to