Brian Kelley wrote:


python:
======
import operator
data = range(50000) # test data

result = sum(data)


Nice, of course.

What about arbitrary operators, not just summation. I'm trying to stress generic looping, as well as see how well lists, ints, and addition work together. Sorry for the confusion.

-jcw


_____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit

Reply via email to