PASO 3: Si escribimos una función, ¡podemos reutilizarla una y otra vez!

  • De la LÓGICA, arrastra Define Function a la PARTE SUPERIOR de tu código y asígnale el nombre prowl() .
  • Desde , suelte Loop with Range sangrado dentro de la función prowl() .
  • En GRÁFICOS, suelte Flip Right Left dentro del bucle. Debe tener doble sangría ···· ···· ¬ !
  • Agregue Wait dentro del bucle y cambie el argumento entero a 1 . También debe sangrarse dos veces.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)