compound1 – Compound conditions

In this task, 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("compound1")