Hi group,
if I remember correctly, wasn't there a way to quickly iterate through
nested loops? Something like
a = { "a", "b", "c" }
b = { 4, 9, 13}
for (x, y) in someoperator(a, b):
print(x, y)
which would print all tuples of
"a", 4
"a", 9
"a", 13
"b", 4
"b", 9
"b", 13
"c", 4
"c", 9
"c", 13
(not nececssarily in that order, of course).
Thanks,
Johannes
--
"Meine Gegenklage gegen dich lautet dann auf bewusste Verlogenheit,
verlästerung von Gott, Bibel und mir und bewusster Blasphemie."
-- Prophet und Visionär Hans Joss aka HJP in de.sci.physik
<[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list