Lesson 23: Parameters and Arguments
Parameters are names inside the def parentheses; arguments are the values we pass when calling the function.
def greet(name): — name is a parameter. greet("Mia") — "Mia" is the argument.
- parameter
- A name for a value the function will receive.
- argument
- The value passed during the call.