Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76771
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Very basic question. How do I start again? |
| Date | 2014-08-21 23:17 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <1e5dv9l3aik5bb1jn4vil731rdl7q6sl3l@4ax.com> <mailman.13269.1408672684.18130.python-list@python.org> <6q9dv95mpcjrmu7uahltpq6mu2nt7is2en@4ax.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13272.1408677473.18130.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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