if11 – 'if' statement

Paint the cells of the bottom row that are under the painted cells of the top row.

Environments

Environment 1
Environment 2
Environment 3
Environment 4
Environment 5

Constraints

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

Example in Python

from robot import *

task("if11")