On 23 August 2010 17:13, aug dawg <augdaw...@gmail.com> wrote: > Is there a command or module that I can use to add all the items in a list? > Alternatively, is there one I can use to add all the numbers in a file?
sum() is what you are looking for [1]. Greets Sander [1] http://docs.python.org/library/functions.html#sum _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor