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: 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 To: python-list@python.org Subject: Re: Need help with programming in python for class (beginner level) In-Reply-To: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Fri, 29 Nov 2013 16:31:21 -0800 (PST) farhanken@gmail.com wrote: > print "

The total rolled was: "number"

" The above line is wrong. You did it right below: > print "

Thanks for playing, " + name + ".

" > print "

You bet the total would be at least " + value + ".

" Do this: print "

The total rolled was: " + number + "

" Regards, Johannes