wfun1 – 'while' loop and functions

Create a function to pass through the corridor and use it three times.

Environments

Environment 1

Constraints

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

Example in Python

from robot import *

task("wfun1")