Ahora usemos la variable star_points para controlar el número de puntas que tiene la estrella.

  • Encuentra star1 en tu programa.
  • Cambia el número en el parámetro points a la variable star_points.

Recuerda usar el nombre de la variable star_points y no su valor.

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)