Module 2 · Line Tracking
Lesson 2-9 · Line-Tracking Functions — Knowledge ChecksAnswer key
Why does turn_clockwise() start with a blind 60-degree turn before the while loop?
The sensor-ended loop needs a moment when neither sensor is on tape. The blind turn provides it; the loop then finishes the turn on the next line it finds.
What does pass do inside the while loop?
pass is a do-nothing statement. The motors were already told to spin; the loop's body has nothing to add, and Python needs something there.