STEP 16: Let's help Sophia finish her sentence.

  • Change the string in .say() to "Maybe I should get a ". Make sure there is a space after a!
  • Still typing in .say(), add a plus sign after the string, then the variable value: + value

value is storing a string, so it can be used as both an image label in .Sprite() and as a string in .say().

Remember, using + to add strings together is called string concatenation!

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)