STEP 12: Let's finish the sprite's line by using the variable fav_color in the last sentence.

Remember, we use a plus sign (+) to add the variable, fav_color to the string. We do not use quotes around variable names.

  • Add fav_color to the text in the last .say() command using a + sign. Make sure everything is within the parentheses!

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
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)