wif12 – 'while' loop with 'if'

Paint the cells that are below the already painted ones and do not have a wall above them.

Environments

Environment 1
Environment 2

Constraints

  • Keyword 'if': at most 5

Example in Python

from robot import *

task("wif12")