compound7 – Compound conditions

Move the Robot downwards while the current cell is painted and there is no wall below.

Environments

Environment 1
Environment 2

Constraints

  • Required keywords in solution: while

Example in Python

from robot import *

task("compound7")