Help
khaosyt at gmail.com
khaosyt at gmail.com
Mon Apr 1 18:22:37 EDT 2013
On Monday, April 1, 2013 6:12:43 PM UTC-4, John Gordon wrote:
> In <fb1d2908-e0be-461f-a8ef-eb4903c8bb7a at googlegroups.com> khaosyt at gmail.com writes:
>
>
>
> > If I wanted to get the sum of some numbers (for example: 1 + 2 + 3 + 4
>
> > + 5 = 15) from the attached program what do I do? Keep in mind that the
>
> > print statement prints the integers individually.
>
>
>
> It's not clear what you're asking for. The attached program doesn't
>
> (appear to) work with sums at all; why would you want to use it?
>
> Writing a new program from scratch would seem to be a better choice.
>
>
>
> --
>
> John Gordon A is for Amy, who fell down the stairs
>
> gordon at panix.com B is for Basil, assaulted by bears
>
> -- Edward Gorey, "The Gashlycrumb Tinies"
It doesn't work with sums yet; it only returns individual positive integers in a longer number.
More information about the Python-list
mailing list