Activity: Random Returns

EXERCISE 6: Let's try a longer refactor with return statements. (This refactor will take 4 steps.)

  • Go to and drag in Define Function with Parameters ABOVE the remaining code.
  • Rename the function create_circles(size, color).
  • Indent the renaming code underneath your new function.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support