Is there something similar to ?: operator (C/C++) in Python?

Dave Brueck dave at pythonapocrypha.com
Fri Jun 24 10:16:06 EDT 2005


D H wrote:
> Peter Hansen wrote:
>>D H wrote:
>>>Peter Hansen wrote:
>>>>Bo Peng wrote:
>>Actually that's just one possible answer.  Whether it's _the_ answer is 
>>obviously again a matter of opinion, and as usual we differ.
> 
> Quit being such an idiot and refuting everything I say.  The answer is 
> simply no, just use an if statement instead.

Please keep the discussion civil; please help keep c.l.py a nice place to visit.

Thanks,
Dave



More information about the Python-list mailing list