Vamos a crear otra variable. Esta controlará el color de nuestras estrellas.

  • Ve a y arrastra String Variable. Suéltalo en la linea justamente debajo de star_points.
  • Cambia el nombre de la variable a star_color.

La variable star_color es una variable string porque ella almacena una letra, palabra o frase..

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)