Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76768
| References | <1e5dv9l3aik5bb1jn4vil731rdl7q6sl3l@4ax.com> <mailman.13268.1408672574.18130.python-list@python.org> <td9dv91bdncnpa46psag7o7lf06iftbrnq@4ax.com> |
|---|---|
| Date | 2014-08-22 12:24 +1000 |
| Subject | Re: Very basic question. How do I start again? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13270.1408674258.18130.python-list@python.org> (permalink) |
On Fri, Aug 22, 2014 at 12:13 PM, Seymore4Head <Seymore4Head@hotmail.invalid> wrote: > I tried putting break_stmt ::= "break" at the point where I > want to start over....:) ,but since there is no "start ove"r command, > I was happy to end the program. > > I get "invalid syntax so I tried break_stmt Ah, that's part of the language of syntax. The page Ben linked you to is the details of the grammar. This page from the tutorial might make it a little clearer: https://docs.python.org/3/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops ChrisA
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