CHECK FOR UNDERSTANDING: Here are a few questions for you to check what you've learned.

  • Use the code in the editor to answer the multiple choice questions.
  • Click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("underwater") def interval(): y = random.randint(-240, 240) fish = codesters.Sprite("fish1", -270, y) fish.set_size(.6) fish.move_right(550) # add any other actions... stage.event_interval(interval, .5)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)