In this lesson, students will take a deeper look into conditional statements, more specifically if/else statements. If/else statements allow for one thing to be done if a condition is true, and something else otherwise.
We write if/else statements like this:
if front_is_clear():
# code to execute if front is clear
elif balls_present():
# code to execute otherwise
Students will be able to:
These are all the activities included in the lesson