fun2 – Functions
Create a function that moves the Robot 2 cells and paints one cell. Use it 4 times.
Environments
Constraints
- Robot action commands and calls to your own functions: at most 7
- User-defined function calls: at least 4
Example in Python
from robot import *
task("fun2")