Decision-making entails anticipating conditions that may arise during program execution and identifying actions to respond to such conditions.
Decision structures evaluate multiple expressions, and the result is either TRUE or FALSE. If the outcome is TRUE or FALSE, you must decide which action to take and which statements to execute.
The following is a generalized version of a common decision-making framework found in most programming languages:
Any non-zero and non-null values are presumed to be TRUE in the Python programming language, while zero and null values are FALSE.