New course! Every coder should learn Generative AI!
Try a free lesson0
"OR" (||) will result in true if either one or both of the expression are true.
Eg.
"if it's raining" or "it's cold": put on a jacket.
AND (&&) results in true only if both expressions are true.
Eg
"if I'm weak" AND "feverish": see a doctor