Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42513
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!panix!gordon |
|---|---|
| From | John Gordon <gordon@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Help |
| Date | Mon, 1 Apr 2013 22:12:43 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 15 |
| Message-ID | <kjd0or$hp5$1@reader1.panix.com> (permalink) |
| References | <fb1d2908-e0be-461f-a8ef-eb4903c8bb7a@googlegroups.com> |
| NNTP-Posting-Host | panix2.panix.com |
| X-Trace | reader1.panix.com 1364854363 18213 166.84.1.2 (1 Apr 2013 22:12:43 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Mon, 1 Apr 2013 22:12:43 +0000 (UTC) |
| User-Agent | nn/6.7.3 |
| Xref | csiph.com comp.lang.python:42513 |
Show key headers only | View raw
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