if1 – 'if' statement

Move the Robot to the right if the cell with the Robot is painted.

Environments

Environment 1
Environment 2

Constraints

  • Required keywords in solution: if
  • Forbidden keywords in solution: while

Example in Python

from robot import *

task("if1")