>map (function, list1, list2) where in function you can create your desired >list.
List comprehensions are preferred to map and filter functions.In fact, filter is a syntactic sugar to list comprehension. Regards, Srini T. --When you are playing cricket, you should hit the ball out of the ground OR get bowled.Both are fine ;But what you shouldn't do is defending your wickets.
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers