CHALLENGE #4: Wow, this code is confusing! Let's simplify it by using functions with parameters.

  • Use only one Loop with Range.
  • Create one function called launch using Define Function with Parameters with one parameter: launch_velocity.
  • Your code should do EXACTLY the same thing as the original program.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE