Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.093 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.01; 'subject:help': 0.08; 'explanation': 0.09; 'sentence': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'scope.': 0.16; 'subject:beginner': 0.16; 'throw': 0.16; 'so.': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'help.': 0.21; 'cc:addr:python.org': 0.22; '---': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'explained': 0.31; 'subject: (': 0.35; "can't": 0.35; 'advice': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'false': 0.36; 'interaction': 0.36; 'does': 0.39; 'how': 0.40; 'affect': 0.61; 'august': 0.61; 'you.': 0.62; 'back': 0.62; "you've": 0.63; 'pick': 0.64; 'become': 0.64; 'given.': 0.84; 'together,': 0.84; 'understand,': 0.84; 'subject:True': 0.91; 'to:addr:comcast.net': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=rBVtVUrk7uI+me+MWTyx9OD8/kS3lncaNE+9G7aAJqw=; b=EEBZF70ygCWVBQb14OVA0ZKwONnCtw09yN5nBbFUgjby9qqF85EDdJqh61wLFeYOYy z7XLP89nrDy8vsPffqYJWLyie32OdLeGUwqFfzAfg5Os2tTyhZEb4stX2ghZ6V/FCdiy KD5sZCJOzcgTR8VIqtOxod532iTKBX7rJ7QkQ/Otic0QHOZ0BEXxIs5Fcw3D++6EOWua 9oxGszDOBHuz2e6CjFEN4HI3cutlbHXzw4D38Hrxgd7xbpht9rdAZamc83iFzNh2RpED eofxjejDFOldWPbOqh6ApNLjp8aXpH0QWMNRP4ybZX0tituhPTxOUqdH+vxyYm1QKrzu liJA== X-Received: by 10.152.26.72 with SMTP id j8mr1140682lag.19.1376091098992; Fri, 09 Aug 2013 16:31:38 -0700 (PDT) MIME-Version: 1.0 Sender: joshua.landau.ws@gmail.com In-Reply-To: <7fa57433-6145-48ce-92a4-c5ba5b441a40@googlegroups.com> References: <6c6dedec-5e47-4229-bc67-01b058cdb410@googlegroups.com> <7fa57433-6145-48ce-92a4-c5ba5b441a40@googlegroups.com> From: Joshua Landau Date: Sat, 10 Aug 2013 00:30:58 +0100 X-Google-Sender-Auth: DZfpgiGQSGpilIPVypiK3E5qQ0o Subject: Re: beginner question (True False help) To: kurt schwitters Content-Type: text/plain; charset=UTF-8 Cc: python-list 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1376091107 news.xs4all.nl 15974 [2001:888:2000:d::a6]:46219 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52281 On 10 August 2013 00:14, wrote: > I don't understand any of the advice any of you have given. What about it don't you understand? Pick a sentence you don't understand and throw it back at us. If you understand all the sentences but not how they come together, say so. If there's a leap that you don't understand, say that you don't get it. We've tried rephrasing things a few ways but without any interaction we can't really help. --- You have said "I figured that ... the batman==False part of the repeat() function would cause the 'while batman==True' part to become False and end." We have said this is untrue. The "batman = False" inside the function does not affect "batman" outside of the function. You need to put "global batman" in the function for it to change "batman" on a global scope. You've not once explained what part of this explanation confuses you.