EXERCISE 6: Let's continue with our refactor!

  • Delete the indented lines that start with size and color.
  • Replace all occurrences of num1 with random_amount. (The variables in our function should sound general.)
  • Go to and drag in Return Statement below the loop, but indented within the function.
  • Change my_var to random_amount.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE