On Monday, April 1, 2013 6:12:43 PM UTC-4, John Gordon wrote: > In <fb1d2908-e0be-461f-a8ef-eb4903c8b...@googlegroups.com> khao...@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 > > gor...@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. -- http://mail.python.org/mailman/listinfo/python-list