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


Groups > comp.lang.python > #76771

Re: Very basic question. How do I start again?

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 <python-python-list@m.gmane.org>
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 <wlfraed@ix.netcom.com>
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> <mailman.13269.1408672684.18130.python-list@python.org> <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 <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.13272.1408677473.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, 21 Aug 2014 22:18:24 -0400, Seymore4Head
<Seymore4Head@Hotmail.invalid> 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/

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


Thread

Very basic question.  How do I start again?   Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-21 21:37 -0400
  Re: Very basic question.  How do I start again? Ben Finney <ben+python@benfinney.id.au> - 2014-08-22 11:55 +1000
    Re: Very basic question.  How do I start again? Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-21 22:13 -0400
      Re: Very basic question. How do I start again? Chris Angelico <rosuav@gmail.com> - 2014-08-22 12:24 +1000
  Re: Very basic question. How do I start again? Chris Angelico <rosuav@gmail.com> - 2014-08-22 11:58 +1000
    Re: Very basic question. How do I start again? Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-21 22:18 -0400
      Re: Very basic question. How do I start again? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-08-21 23:17 -0400
  Re: Very basic question.  How do I start again?   Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-22 12:58 +1000
  Re: Very basic question.  How do I start again? Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-22 04:26 +0000
  Re: Very basic question.  How do I start again?   Tim Roberts <timr@probo.com> - 2014-08-21 22:56 -0700
    Re: Very basic question. How do I start again? Igor Korot <ikorot01@gmail.com> - 2014-08-21 23:21 -0700

csiph-web