0

Goto in python?

I recently switched programming language from c++ to python 2.7... I started learning it and found a need for a goto statement.... Ik its not a good habit but I need something like goto in python.... Can anyone please let me know if there's any function like goto on python... Please...

25th Dec 2017, 3:32 PM
Harsh kumar
Harsh kumar - avatar
2 Antworten
0
I can. No there isn't. And really there is never need to ever use. Put whatever code you want to into a function and call it again.
25th Dec 2017, 4:48 PM
1of3
1of3 - avatar
0
Ohkaay thanks😅
26th Dec 2017, 11:01 AM
Harsh kumar
Harsh kumar - avatar