jonathan wallis wrote:
> i have a duel loop that looks like this while y > 0 and x > 0:
> i cant figure out if there is a way to make so if one loop ends it says
> something different than if the other loop ends.
>
while x > 0 or y > 0:
...
if x > 0:
print 'x is greater than 0'
elif y > 0:
print 'y is greater than 0'
print 'what should happen when both x>0 and y>0 is true?'
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor