Lesson 10: Coding Exercise

Do the following:

  1. Create a function that multiplies an argument by 4.
  2. Pass an argument through that function and print off the result.
  3. Create a list of names
  4. Advanced: Make a function that adds the name Smith to whatever string is passed through it.

If you get stuck, check out Lesson 10: Cheat Sheet.