Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60783
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mailman@hanez.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.096 |
| X-Spam-Evidence | '*H*': 0.82; '*S*': 0.02; 'subject:help': 0.08; 'string': 0.09; '"."': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:beginner': 0.16; 'subject:class': 0.16; 'subject:programming': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'print': 0.22; 'sorry,': 0.24; 'this:': 0.26; 'least': 0.26; 'header:In- Reply-To:1': 0.27; 'fri,': 0.33; 'subject: (': 0.35; 'subject:with': 0.35; 'convert': 0.35; '+0100': 0.36; 'charset:us- ascii': 0.36; 'thanks': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'email addr:gmail.com': 0.63; 'name': 0.63; 'subject:Need': 0.64; 'total': 0.65; 'below:': 0.68; 'received:109': 0.72; 'wrong!': 0.84; 'received:(helo localhost)': 0.91; 'was:': 0.91; '2013': 0.98 |
| Date | Sat, 30 Nov 2013 01:49:03 +0100 |
| From | Johannes Findeisen <mailman@hanez.org> |
| To | python-list@python.org |
| Subject | Re: Need help with programming in python for class (beginner level) |
| In-Reply-To | <20131130013836.49f68d62@hanez.org> |
| References | <e9d18514-1da5-471a-bf39-5f67d3d8fef7@googlegroups.com> <20131130013836.49f68d62@hanez.org> |
| X-Mailer | Claws Mail 3.9.0 (GTK+ 2.24.22; x86_64-pc-linux-gnu) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3410.1385772643.18130.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1385772643 news.xs4all.nl 15941 [2001:888:2000:d::a6]:55308 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60783 |
Show key headers only | View raw
On Sat, 30 Nov 2013 01:38:36 +0100 Johannes Findeisen wrote: > On Fri, 29 Nov 2013 16:31:21 -0800 (PST) > farhanken@gmail.com wrote: > > > print "<p>The total rolled was: "number" </p>" > > The above line is wrong. You did it right below: > > > print "<p>Thanks for playing, " + name + ".</p>" > > print "<p>You bet the total would be at least " + value + ".</p>" > > Do this: > > print "<p>The total rolled was: " + number + " </p>" Sorry, that was wrong! You need to convert to a string when concatenating... print "<p>The total rolled was: " + str(number) + " </p>"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need help with programming in python for class (beginner level) farhanken@gmail.com - 2013-11-29 16:31 -0800 Re: Need help with programming in python for class (beginner level) Johannes Findeisen <mailman@hanez.org> - 2013-11-30 01:38 +0100 Re: Need help with programming in python for class (beginner level) Eduardo A. Bustamante López <dualbus@gmail.com> - 2013-11-29 16:45 -0800 Re: Need help with programming in python for class (beginner level) Johannes Findeisen <mailman@hanez.org> - 2013-11-30 01:49 +0100 Re: Need help with programming in python for class (beginner level) Tim Chase <python.list@tim.thechases.com> - 2013-11-29 18:53 -0600 Re: Need help with programming in python for class (beginner level) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-30 00:59 +0000 Re: Need help with programming in python for class (beginner level) Tim Chase <python.list@tim.thechases.com> - 2013-11-29 19:06 -0600 Re: Need help with programming in python for class (beginner level) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-30 01:08 +0000 Re: Need help with programming in python for class (beginner level) Johannes Findeisen <mailman@hanez.org> - 2013-11-30 02:16 +0100 Re: Need help with programming in python for class (beginner level) Julio Schwarzbeck <julio@techfuel.net> - 2013-12-01 17:01 -0800
csiph-web