Posts by shiro amurha • 9 points
1 post
-
0
votes0
answers13
viewsQ: How do I interrupt a python function?
The problem is this: I want to make a function not make its execution complete if a certain condition is met. Example: a = 1 def function(): if a is 1: pass #aqui seria o local onde que a função…