To move up a level, Karel must turn, move up one space, and then face the opposite direction to start the next row.
function fillRow() putBeeper(); while (frontIsClear()) move(); if (frontIsClear()) move(); putBeeper(); Use code with caution. Copied to clipboard 2. Transition and Check for "Offset"
turnRight(); move(); turnLeft();
She hit Run .