list problem...

Rog rog at pynguins.com
Tue Sep 28 14:44:59 EDT 2010


Hi all,
Have been grappling with a list problem for hours...
a = [2, 3, 4, 5,.....]
b = [4, 8, 2, 6,.....]
Basicly I am trying to place a[0], b[0] in a seperate list
IF a[2] and b[2] is present.
I have tried sets, zip etc with no success.
I am tackling Euler projects with Python 3.1, with minimal
knowledge, and having to tackle the language as I progress.
Enjoyable frustration  :)

-- 
Rog
http://www.rog.pynguins.com



More information about the Python-list mailing list