Re: [Tutor] WHAT IS THE DIFFERENCE BETWEEN FILTER AND REDUCE FUNCTION
Warning: this is going to look *a lot* better if you view it in a fixed-width font so things line up properly. Both functions apply a function to a list of values, but they do so in different ways. filter() applies a function to each element of a list in turn, returning a new list containing
[Tutor] WHAT IS THE DIFFERENCE BETWEEN FILTER AND REDUCE FUNCTION
___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor