On Mon, 18 Mar 2002 11:53:46 -0800
Stefan Kuzminski <[EMAIL PROTECTED]> wrote:

> c = [10, 20, 5, 30,...]

x = map(lambda i: {"c":i}, c)

> x
[{'c': 10}, {'c': 20}, {'c': 5}, {'c': 30}]

Fionn
-- 
I believe we have been called by history to lead the world.
                                                       G.W. Bush, 2002-03-01

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to