Is there a label/goto in Python?


Question

Is there a goto or any equivalent in Python to be able to jump to a specific line of code?

1
143
9/23/2012 4:29:44 AM

No, Python does not support labels and goto, if that is what you're after. It's a (highly) structured programming language.

102
1/13/2009 12:55:57 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon