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

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

  • Go to and drag Define Function to the bottom of your program.
  • Name the function flip, like this: def flip():
  • Drag Move Up INSIDE the function. The command should be intended 4 spaces.

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)