Usemos la variable llamada my_friend que esta almacenando el string "Mike".

  • En el comando .say() cambia el string "Jacob" a la variable de nombre my_friend.

Recuerda, no pongas comillas alrededor del nombre de la variable. Aún cuando el VALOR de esta variable sea un string, su NOMBRE no es un string.

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)