wif9 – 'while' loop with 'if'

Use two 'if' statements at the same time. One for the top wall and the other for the bottom wall.

Environments

Environment 1
Environment 2
Environment 3

Constraints

  • Keyword 'if': at most 4

Example in Python

from robot import *

task("wif9")