compound2 – Compound conditions

Paint the cell and move the Robot downwards as long as there is a wall to the left or to the right.

Environments

Environment 1
Environment 2
Environment 3

Constraints

  • Required keywords in solution: while

Example in Python

from robot import *

task("compound2")