PASO 5: ¡Utiliza Dot Notation para controlar a tu figura!

Podemos usar el nombre de variable de una figura para asignarle acciones. Esto es llamado dot notation.

  • Ve a y arrastra Move Forward. Suéltalo en la parte inferior de tu programa.
  • Cambia el nombre en frente de .move_forward() a el nombre de la figura, astro.
  • Cambia el número entero en el comando .move_forward() a 150.

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)