Christoph Scheit wrote: > Hello, > > is there a way to do something like > for i,j in l1, l2: > print i,j
I'm assuming that l1 and l2 are in fact lists (or at least sequences). If that's the case: <code> l1 = [1, 2, 3] l2 = ['a', 'b', 'c'] for i, j in zip (l1, l2): print i, j </code> TJG -- http://mail.python.org/mailman/listinfo/python-list