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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly