fun4 – Functions

Create a function to paint a rectangle. Use it 2 times.

Environments

Environment 1

Constraints

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

Example in Python

from robot import *

task("fun4")