Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'over,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:How': 0.10; "wouldn't": 0.14; '>to': 0.16; 'hint:': 0.16; 'loop.': 0.16; 'message-id:@4ax.com': 0.16; 'next.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:question.': 0.16; 'subject:start': 0.16; 'do,': 0.16; 'do.': 0.18; 'thu,': 0.19; 'aug': 0.22; 'error': 0.23; 'url:home': 0.24; 'header:X-Complaints-To:1': 0.27; 'statement': 0.30; 'apparently': 0.31; 'another': 0.32; 'guess': 0.33; 'but': 0.35; 'really': 0.36; 'doing': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'unable': 0.39; 'received:org': 0.40; 'break': 0.61; 'back': 0.62; 'personal': 0.63; 'more': 0.64; 'subject:. ': 0.67; 'subject:Very': 0.84; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Very basic question. How do I start again? Date: Thu, 21 Aug 2014 23:17:58 -0400 Organization: IISS Elusive Unicorn References: <1e5dv9l3aik5bb1jn4vil731rdl7q6sl3l@4ax.com> <6q9dv95mpcjrmu7uahltpq6mu2nt7is2en@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-216-17.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 1408677473 news.xs4all.nl 2905 [2001:888:2000:d::a6]:41979 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76771 On Thu, 21 Aug 2014 22:18:24 -0400, Seymore4Head declaimed the following: > >No homework. This is just for personal enrichment. >Stopping the program when guess==pick is not really what I want the >program to do, but it that is what I am limited to do, that will have >to do. I am also unable to get that working at the moment. More >trial and error with the break statement is what I will be doing next. > Hint: the /break/ statement takes you OUT of the guess /while/ loop. You apparently want to go back to the top of the program and start over, no? Sounds like you want another loop, wouldn't you say? (And don't forget to include some way out of that loop in order to end the program) -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/