wif2 – 'while' loop with 'if'

Paint every cell in the corridor that has a wall above it.

Environments

Environment 1
Environment 2
Environment 3

Constraints

  • Keyword 'if': at most 2

Example in Python

from robot import *

task("wif2")