Hagamos que todas nuestras estrellas parezcan lejanas cambiando unicamente una linea de código en nuestro programa.

  • Cambia el valor de star_size a 5.
  • Haz clic en Correr para ver a todas las estrellas volverse pequeñas.

Es fácil cambiar todas las estrellas al tiempo, porque hemos usado una variable para el tamaño de todas ellas.

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)