Very basic question. How do I start again?
Chris Angelico
rosuav at gmail.com
Thu Aug 21 22:24:15 EDT 2014
On Fri, Aug 22, 2014 at 12:13 PM, Seymore4Head
<Seymore4Head at 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
More information about the Python-list
mailing list