Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Ternary Operator

$check = CONDITION ? "Do this if the statement true" : "Do This if the statement false"
Source by www.onlineinterviewquestions.com #
 
PREVIOUS NEXT
Tagged: #Ternary #Operator
ADD COMMENT
Topic
Name
6+9 =