Introduction
Default arguments let you give a function a value to use if no value is provided. This makes your functions easier to use and avoids errors.
When you want a function to work even if some inputs are missing.
When you want to set common values that usually don't change.
When you want to avoid writing extra code to check if a value was given.
When you want to make your function flexible for different situations.