On Oct 20, 3:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > print b if ((b > a) and (b < (a * b))) else a
Everyone else has already pointed out that you need 2.5. As a matter of style, the above line can be written more cleanly: print b if a < b < a * b else a -- Paul Hankin -- http://mail.python.org/mailman/listinfo/python-list