STEP 14: If you chose sprinkles, let's add them in!

  • Delete this code from within the if statement: print(True)¬
  • Go to and drag Call with Parameters inside the if statement. Indent it three times!
  • Rename the function to add_sprinkles() and change the parameters to sprinkles and scoops.
  • Click Run and choose a cone. Answer the questions to see what you get!

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)