shawn bright wrote:
> now there is one function that i have a kinda nested if else
> conditions that i need to stop if necessary
> 
> if value == 1:
>     if next_val == 4:
>        do this or that
>     else:
>        here i need the function to just die
>     do somthing here
> 
> is there something i can do to make this happen?

return

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to