Introduction
Default parameter values let you set a fallback value for a function's input. This means the function still works even if you don't give it all the information.
When you want a function to work with common settings without needing extra input.
When you want to avoid errors if a user forgets to provide a parameter.
When you want to make your script easier to use by providing sensible defaults.