So enden Sie, wenn sonst Aussage in Python

#We enclose our nested if statement inside a function 
#and use the return statement wherever we want to exit.

def something(i):
    if i%2 == 0:
        if i == 0:
            return
        if i > 0:
            print("even")

if __name__ == "__main__":
    something(0)
    print("Broken out")
    
#'Broken out'    
Niyaz Kassenov