In this lesson, students will learn how to create a Loop and Half. A Loop and a Half is a specific way to write a while loop with the condition being True
. Inside the loop, students create a SENTINEL
value to break out of the loop whenever that condition is met, causing the loop to end.
Students will be able to:
These are all the activities included in the lesson