Give 6 examples of comparison operators.
,>=,<=, ===,!==
What data type do comparison expressions evaluate to?
single Boolean value of either True or False
What is the purpose of an if statement?
tell a computer what to do with certain information
Is else required in order to use an if statement?
no
Describe the syntax (structure) of an if statement.
check the expression to see whether a condition is met and returns a value based on the output obtained
What are the three logical operators?
||,&&, !
How do you compare two different expressions in the same condition?
parenthesis