Abbreviation for ternary operator in python -


I remember a hatred for the Tannery operator test for survival. For example:

  a = none b = another and none if 'no!' #b is 'no one else!'   

I thought it was something like this

  and 'none'!   

But this does not work, maybe there is another way of short form to use some other underlying type in it?

No, no one is available briefly.

Do you have about a or 'no, none!' Thinking about ?

And as a side note: ... if ... and ... is called a; This is the A TURNERY operator, but this is the case of SQL ... in ... expression.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -