PASO 4: ¡Hora de comenzar a personalizar! ¡Tengamos un nuevo fondo para todos los que invitemos!

  • Vaya a LÓGICA y . Arrastre Define Function with Parameter a su programa.
  • Cambia el nombre de la función a draw_card() .
  • De GRÁFICOS y , arrastre Set Background dentro de la función para que tenga un ···· delante.

El () después de draw_card contiene una variable. ¡Este es un parámetro de función! Lo usaremos en nuestra función.

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)