STEP 15: Let's have Sophia say something about each pet.

  • In GRAPHICS, click and drag out Say.
  • Drop it indented inside the loop under .glide_to().
  • Assign .say() to sophia by changing the variable name before it from sprite to sophia.
  • Replace the string in .say() with the variable value.

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)