STEP 5: Right now, it looks like our sprite is saying happy birthday only once. Let's fix that!

In Python, "" means the string is empty. This makes it seem like our sprite isn't saying anything.

  • Go to and drag out Say. Drop it at the end of the for loop, inside the loop.
  • Change the name in front of .say() from sprite to singer.
  • Change the text inside the .say() command from "I am a sprite." to "".

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)