fun1 – Functions

Create a function that moves the Robot 4 cells. Use it 4 times.

Environments

Environment 1

Constraints

  • Robot action commands and calls to your own functions: at most 8
  • User-defined function calls: at least 4

Example in Python

from robot import *

task("fun1")