Terry Reedy wrote:
> "praba kar" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Dear All,
> >    I am new to Python.  I want to know how to
> > work with ternary operator in Python.  I cannot
> > find any ternary operator in Python.  So Kindly
> > clear my doubt regarding this
>
> A unary operator has one operand; a binary operator has two operands;
a
> ternary operator has three operands.  Python has none built-in,

Not so fast, my friend.  What about the expression "0.0 < a < 1.0"?


-- 
CARL BANKS

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to