Jia Lu wrote:
>  I have 2 lists,
>  a = [1,2,3]
>  b = ["ooo","aaa","ppp"]

reading the documentation might help.

If that doesn't work, try d = dict(zip(a, b))
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to