Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.053 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; '(at': 0.04; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:games': 0.16; 'two.': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'thu,': 0.19; 'seems': 0.21; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'trouble': 0.34; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'one,': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'that!': 0.36; 'thanks': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'tell': 0.60; 'subject:skip:g 10': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=QMlzXKn3uKFGBAw3Oy1KM0/c8BdH+a7TpfAnGelm4BQ=; b=A3IuT1CfpISGhimKrx34FAE8OoNA799ScWKWgP3kGdTpo8GLhE5k7SQ+ehU+rEjJJv dt6LKgbpW3gFVsLoPqDJKaIiVU6UKjZB+wCE/6HUK4f79driCb272wwudoqnXZAfxKEC 3aacZgqOMUwMGA2h8dUFiObkUlpTXTz20vBy5iVR7w/tTUKIAORu/c6/yvun4l/Pam8w 0KwUkLLe19sYM7/fD8lxn9KKkfTvUnhUKwDnfGYpczHh4CaSF9gd9oGeSE+ysYvAQybn ZhZVp/WLjOk92MxuXPIAfut23PhYNOEcUZz9HCjw1LYQh993mbPp3wxthWqeDRQ/MqHe Z50g== MIME-Version: 1.0 X-Received: by 10.52.67.164 with SMTP id o4mr3339718vdt.42.1365660137271; Wed, 10 Apr 2013 23:02:17 -0700 (PDT) In-Reply-To: <7326d558-0aad-4059-ba85-d5bf078201e6@googlegroups.com> References: <0e8b4a09-3d1d-4b92-a0ef-2274a2a651c9@googlegroups.com> <7326d558-0aad-4059-ba85-d5bf078201e6@googlegroups.com> Date: Thu, 11 Apr 2013 16:02:17 +1000 Subject: Re: guessthenumber print games left From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365660139 news.xs4all.nl 2616 [2001:888:2000:d::a6]:52897 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43322 On Thu, Apr 11, 2013 at 3:56 PM, wrote: > How do I make it say that I have one game left? I'm having trouble fitting it into my main code. Thanks a lot for the help btw. The main confusion seems to be over whether to add one or two. If you add one, it'll tell you you have just one game left (at some point). Try that! ChrisA