+ 5

How to use goto statement or relevant in Python

goto in python

8th Apr 2020, 5:39 AM
Mohd Aadil
Mohd Aadil - avatar
2 Réponses
+ 3
There is no 'goto' statement in Python. The nearest thing to this may be using functions. def my_func(x, y): #some code And to call it later on; my_func(xvalue, yvalue)
8th Apr 2020, 9:14 AM
Russ
Russ - avatar
+ 3
Thanks Russ
8th Apr 2020, 9:45 AM
Mohd Aadil
Mohd Aadil - avatar