continue - Alternative to Goto keyword in python -


this question has answer here:

def fun_name():  condition:   condition:    if condition:     #continue     else:     pass  

how jump outer loop there no goto or label keyword in python ? continue return me inner loop. there way achieve ?

use 'break' keyword break out of inner loop.


Comments

Popular posts from this blog

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -