Dan wrote: > Is there a python equivalent of this trick in C? > > Logic_Test ? True_Result : False_Result The long answer to your question is at http://www.python.org/peps/pep-0308.html (in addition to the "hack" Sam posted :-) Roger