Help
Dave Angel
davea at davea.name
Mon Apr 1 18:28:17 EDT 2013
On 04/01/2013 05:42 PM, khaosyt at gmail.com wrote:
> Self-bump
>
Normally, bumping a message/thread means replying to it. You're leaving
a NEW message with no context, no reply, and a different uninformative
subject line. And you're leaving it from googlegroups, with two copies.
If you want to sum things through a loop, initialize a variable to zero
before the loop, then add to it each time through the loop.
total=0
for whatever in something:
total += whatever_expression
print total
--
DaveA
More information about the Python-list
mailing list