if8 – 'if' statement
Paint the cell on the left if there is a wall on the left, and the cell on the right if there is a wall on the right.
Environments
Constraints
- Required keywords in solution: if
- Forbidden keywords in solution: while
Example in Python
from robot import *
task("if8")