CHECK FOR UNDERSTANDING: Review what you learned about refactoring with parameters and return statements.

  • Click Run and look at the stage to see random circles appear.
  • Answer the questions by clicking the correct choice on the stage.

The old version of the code is at the bottom of the editor commented out.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE