Parameters and Arguments
A function becomes genuinely useful when it works on different input each time.
A parameter is the name in the definition, the placeholder. An argument is the actual value you pass when calling. The parameter is the empty seat; the argument is who sits in it.
Default arguments let a parameter fall back to a value when no argument is given.
Mark this lesson complete
Signed in, your progress follows you to every device.