PASO 10: ¡Hora de nuestro último paso de baile! Ir a y arrastre Define Function .

  • Coloque la nueva función DESPUÉS de la función sway() y ANTES de las líneas que llaman a las funciones.
  • Nombra la función two_step() .
  • Suelta Say for Time DENTRO de la función. ¡El segundo argumento controla cuánto tiempo hablará el sprite!
  • Cambia la cadena en . say() a "Let's dance!"

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)