Activity: Next Scene

STEP 4: Let's create and name another function!

Give functions names related to what they do. This makes your code easier to read, use, and debug!

  • Go to and drop Define Function at the bottom of your program.
  • Change the name of the function from my_function() to bridge_scene().
  • Drop the Drawbridge background INSIDE the function. Make sure it is indented 4 spaces under the def line.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support