GOTO w/ Python?
Fredrik Lundh
fredrik at pythonware.com
Wed Jun 19 18:13:46 EDT 2002
Angela Williams wrote:
> I'm looking for the equivalent of the GOTO command for Python 2.2.1 running
> on Windows 98. I have programmed very little and am new to Python.
like most modern programming languages, Python doesn't have
a GOTO command. for a brief explanation of why, and what you
should use instead, check the "branching" chapter in Alan Gauld's
"Learning to Program" tutorial:
http://www.freenetpages.co.uk/hp/alan.gauld/
(if you're new to programming, I suggest working through the
entire tutorial)
you can find more Python tutorials here:
http://www.python.org/doc/Newbies.html
</F>
More information about the Python-list
mailing list