Alan Gauld wrote:
<snip>flag = True if (smoeValue or another) else False is different to flag = someValue or another Which was why I thought it worth pointing out that the if/else could be used.
I'd prefer the form: flag = not not (someValue or another) if I needed real True or False result. DaveA _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor