Are decisions in Control Flow required to be binary, as in, only evaluated to “Yes” or “No”?
In Control Flow, every decision can only be answered as either “Yes” or “No”, so they must be binary.
Python Control Flow works by utilizing boolean expressions, which are expressions that evaluate to either
True (Yes) or
False (No). These expressions are used in statements such as
if statements which will run their code if the expression is true, or will not run their code if the expression is false and continue checking the next decision. Control Flow ‘flows’ down through each binary decision in the path until it reaches the end.