Ternary Operator in Python

Sean Kemplay skemplay at gmail.com
Fri Apr 1 03:03:02 EST 2005


You could use 

condition and consequent or alternative

I use it
Sean

On Apr 1, 2005 5:24 PM, praba kar <prabapython at yahoo.co.in> wrote:
> 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
> 
> 
> __________________________________
> Yahoo! Messenger
> Show us what our next emoticon should look like. Join the fun.
> http://www.advision.webevents.yahoo.com/emoticontest
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list