Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

terneray operator in python

>>> 'true' if True else 'false'
'true'
>>> 'true' if False else 'false'
'false'
 
PREVIOUS NEXT
Tagged: #terneray #operator #python
ADD COMMENT
Topic
Name
3+7 =