Rain Check
Medium · Walls
Some squares in the bottom row have a roof: a wall right above them. It is about to rain, so put a ball on every square that has NO roof above it.
When Karel faces east, the roof is on its left, so leftIsClear() tells you if the sky is open. Finish at the end of the row.
Next: Find the Door