Hello,
I know the break or continue statements for the loops...
But I have a if stetement that I would like to exit from and I don't know how to do
value = -1
if true:
print 'hello world'
# Some unexpected value is set so I would like to leave here
# but break statement is for loop and not for if
if value < 0:
????????
print 'value was >0 so I am still in the if statement'
Any idea on the way to exit the if before the end of the if statement ?
Thank you
Clousot