STEP 10: Now let's use both of our variables in one sentence!

We can use variables in say commands to make the sprite say the value of the variable!

  • Replace the string "I am a sprite." with the variable my_friend.


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)