Ternary Operator in Python
Erik Max Francis
max at alcyone.com
Fri Apr 1 05:10:44 EST 2005
More information about the Python-list mailing list
Fri Apr 1 05:10:44 EST 2005
- Previous message (by thread): Ternary Operator in Python
- Next message (by thread): Ternary Operator in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sean Kemplay wrote: > You could use > > condition and consequent or alternative > > I use it You should do so cautiously, since if consequent is false, it will not behave as suspected. Not to mention that it's quite unreadable. -- Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis Physics, as we know it, will be over in six months. -- Max Born (1928)
- Previous message (by thread): Ternary Operator in Python
- Next message (by thread): Ternary Operator in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list