if9 – 'if' statement

Paint every cell of the corridor that does not have a wall on top.

Environments

Environment 1
Environment 2
Environment 3

Constraints

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

Example in Python

from robot import *

task("if9")