On May 10, 4:20 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:

> for a, b in zip(lista, listb):
>     ...

You don't even need the for loop nowadays.  Just pass the zipped list
to a dictionary constructor thusly:
newdict = dict(zip(listKeys,listValues))

Asun

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to