On 05/08/06, anil maran <[EMAIL PROTECTED]> wrote: > list comprehensions to return a dictionary
Well, hyou can use the dict function. eg: dict((x, x**x) for x in range(10)) -- John. _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
