Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42513
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Help |
| Date | 2013-04-01 22:12 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <kjd0or$hp5$1@reader1.panix.com> (permalink) |
| References | <fb1d2908-e0be-461f-a8ef-eb4903c8bb7a@googlegroups.com> |
In <fb1d2908-e0be-461f-a8ef-eb4903c8bb7a@googlegroups.com> khaosyt@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@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Help khaosyt@gmail.com - 2013-04-01 14:44 -0700
Re: Help John Gordon <gordon@panix.com> - 2013-04-01 22:12 +0000
Re: Help khaosyt@gmail.com - 2013-04-01 15:22 -0700
Re: Help John Gordon <gordon@panix.com> - 2013-04-01 22:33 +0000
Re: Help khaosyt@gmail.com - 2013-04-01 15:57 -0700
Re: Help Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-02 00:00 +0000
Re: Help khaosyt@gmail.com - 2013-04-01 17:38 -0700
csiph-web