Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60780

Re: Need help with programming in python for class (beginner level)

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.141
X-Spam-Level *
X-Spam-Evidence '*H*': 0.75; '*S*': 0.04; 'subject:help': 0.08; '"."': 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; 'wrote:': 0.18; 'print': 0.22; 'this:': 0.26; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'fri,': 0.33; 'subject: (': 0.35; 'subject:with': 0.35; '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; 'received:(helo localhost)': 0.91; 'was:': 0.91; '2013': 0.98
Date Sat, 30 Nov 2013 01:38:36 +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 <e9d18514-1da5-471a-bf39-5f67d3d8fef7@googlegroups.com>
References <e9d18514-1da5-471a-bf39-5f67d3d8fef7@googlegroups.com>
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.3408.1385772023.18130.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385772023 news.xs4all.nl 15957 [2001:888:2000:d::a6]:47617
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60780

Show key headers only | View raw


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>"

Regards,
Johannes

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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