STEP 1: Let's create a function that will run a scene in the park!

Remember, the Define Function line defines the function by creating the function and giving it a name.

  • Click LOGIC, go to and drop Define Function at the bottom of your program.
  • Change the name of the function from my_function() to park_scene().
  • In GRAPHICS, drop Park INSIDE your function by indenting it four spaces under the def line.

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)