Functions

Lecture date: Wednesday, September 11, 2024

Learning Objectives

  • Write a function to perform repeated tasks.
  • Use parameters to control the behavior of a function.
  • Explain how local variables and parameters are kept in memory.
  • Use keyword parameters to keep common things hidden.