rif1 – 'if' statement

Paint the cell to the right of the Robot if there is no wall on the right.

Environments

Environment 1
Environment 2
Environment 3
Environment 4

Constraints

  • Required keywords in solution: if
  • Forbidden keywords in solution: elif, else, while

Example in Python

from robot import *

task("rif1")