How to stop the program as soon as one of the condition is met

Chinesekidz chinesekidz at googlemail.com
Mon Apr 16 15:06:03 EDT 2012


Hello Guys:

How can I stop the program as soon as one of the condition is met?


Here is example:

The loop should be stop asking for more input if a=b or c=6.

I tried to write one but it only stop when a=b and not when c=6

Please help me....



More information about the Python-list mailing list