if10 – 'if' statement

Paint the cells in the row below the Robot that have no exit from the bottom.

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("if10")