Does anyone know how it's possible to add up the values in a list?
entropic3105 12 Light Poster
Recommended Answers
Jump to Postsum
Jump to Post$ pydoc sum Help on built-in function sum in module __builtin__: sum(...) sum(sequence[, start]) -> value Returns the sum of a sequence of numbers (NOT strings) plus the value of parameter 'start' (which defaults to 0). When the sequence is empty, returns start. (END)
All 5 Replies
sepp2k 378 Practically a Master Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
entropic3105 12 Light Poster
Gribouillis 1,391 Programming Explorer Team Colleague
entropic3105 12 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.