3-7: IF-ELSE, NOT
3-7: IF-ELSE, NOT
NOT Operator Starter Project
Do these code segments do the same thing?
DIRECTIONS: Press left and right arrow buttons to move ball.
Code below produces the same result. (More than one way to code!)
Xy-grid backdrop
Boolean Conditions
Boolean: TRUE or FALSE represented in binary as 1 or 0
Condition: evaluates to TRUE or FALSE
Conditional Statement: a statement that will only run when the condition evaluates to TRUE