if6 – 'if' statement

Paint the cell on the right if there is a wall below it.

Environments

Environment 1
Environment 2

Constraints

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

Example in Python

from robot import *

task("if6")