Activity: Flip

STEP 2: Each function will store one dance move. Let's make a flip move!

Remember, the function name is the word between the Python keyword def and the parentheses().

  • Click LOGIC, go to and drag Define Function to the bottom of your program.
  • Name the function flip(), like this: def flip():
  • In GRAPHICS, drop Move Up INSIDE the function. It should be indented 4 spaces.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support