Sometimes you may need to create shell script that accepts optional arguments. Here is how to create bash script that takes optional arguments.
optional arguments
How to Create Python Function with Optional Arguments
Sometimes you may need to create python function with optional arguments. Here are the steps to do it.