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

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -