PASO 12: ¡Hagamos que las figuras de palitos bailen usando una nueva función!

  • En LÓGICA, vaya a y arrastre Define Function with Parameter .
  • Cambia el nombre de la función a dance() y el parámetro a my_list .
  • Desde , suelte Loop through List sangría dentro de la función y cambie el value a sprite .
  • En GRÁFICOS y , arrastre Move Up con sangría dentro del bucle. ¡Debe estar sangrado 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)