Monday, August 16, 2010

how join list tuple and dict into a dict?

Programmer Question

how join list tuple and dict into a dict?



['a','b','c','d'] (1,2,3) and {'a':'10'}
d excluded for list be compatible with the tuple

output {'a':'1','b':'2','c':'3','a':'10'}


Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails