[Tutor] how to convert list of lists to dict

Emile van Sebille emile at fenx.com
Tue May 17 19:56:15 CEST 2011


On 5/17/2011 10:19 AM Brad Hudson said...

> Thanks for the quick response Emile! However, this only seems to solve
> part of the problem.

Yes -- I figured that by understanding the one-liner I replied with 
you'd be able to construct the missing part.  And then by restructuring 
to a loop you'd get the second half.  I thought that pointing you to 
dict() by itself probably wouldn't have gotten you far.

Where are you on this now?

Emile



More information about the Tutor mailing list