Python goto
Ned Batchelder
ned at nedbatchelder.com
Thu Dec 28 07:20:42 EST 2017
On 12/28/17 6:43 AM, jorge.conrado at cptec.inpe.br wrote:
>
>
> Hi,
>
> I would like to know if there is a goto command or something similar
> that I can use in Python.
>
Python does not have a goto statement. You have to use structured
statements: for, while, try/except, yield, return, etc.
If you show an example of where you would like to use a goto, we can
help find a different way.
--Ned.
More information about the Python-list
mailing list