If / Then Lesson 1
Decision Builder
Students build a small program choice and test what happens when the condition is true or false.
Build the choice.
Condition
hasKey
Value
true
- Run the condition to see what the program does.
Code Connection
Try If / Then Challenge
if hasKey is true: