60. Conditional logic Flashcards
1
Q
What is ternary operator/conditiona le expression? why is it called expression?
A
-like a shortcut
-expression if it is true or not
2
Q
how do you short circuit ?
A
when you do two names for example
and you do
if name and name and then print something, it will only capture first thing