Does Python have a ternary conditional operator? - Stack Overflow

current community chat blog Stack Overflow Meta Stack Overflow Careers 2.0 Sign up or log in to customize your list. more stack exchange communities Stack Exchange sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site careers 2.0 Stack Overflow Questions Tags Tour Users Ask Question Take the 2-minute tour × Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required. Does Python have a ternary conditional operator? up vote 910 down vote favorite 146 If not, is it possible to simulate one concisely using other language constructs? python operator...

Linked on 2014-03-14 19:11:47 | Similar Links