Python style.

Richard Jones Richard.Jones at fulcrum.com.au
Wed May 10 18:10:55 EDT 2000


[emile at fenx.com]
> Which brings to mind this slightly altered form:
> 
> >>> list1 = [1,2,3,4,5,6]
> >>> list2 = [6,5,4,3,2,1]
> >>> for x in map(lambda list1, list2: list1 - list2, list1,list2): print x

   I'm personally _really_ disturbed by all these suggested "solutions" to the 
problem - when the problem was that the original poster thought his solution 
was inelegant.

   Where's the elegance in these ugly map() hacks???

   Please don't tell me this is where "Python style" is heading :)


          Richard






More information about the Python-list mailing list