while loop - multiple condition

Shiva shivaji_tn at yahoo.com
Sun Oct 12 13:21:02 EDT 2014


> The loop will continue while either part is true - that's what "or"
> means. Is that what you intended it to be doing?
> 
> ChrisA
> 


Yes......however, the second part of the or condition doesn't get evaluated.
So if I enter a 'y' - I expect the second part to evaluate and the loop to
break - but that doesn't seem to happen.




More information about the Python-list mailing list