if2 – 'if' statement
Move the Robot to the right if there is a wall under the Robot.
Environments
Constraints
- Required keywords in solution: if
- Forbidden keywords in solution: while
Example in Python
from robot import *
task("if2")