STEP 12: Now let's add the scoops of ice cream!

  • Go to and drag out Call with Parameters indented inside the if statement.
  • Change my_function() to add_cone_scoops() and change the parameters to scoops and flavor.
  • Click on GRAPHICS and . Drag Ask onto the next line.
  • Change choice to sprinkles and the question to "Rainbow or chocolate sprinkles?"

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)