iterating over two sequences at once

Bill Dandreta wjdandreta at att.net
Sun Jul 25 13:44:50 EDT 2004


Dan wrote:
> 
> My question to you is, how would you do this? 
> 

for c, c2 in zip(str, str2):
   print c, c2

Bill



More information about the Python-list mailing list