python function make optional input code example
Example: python create a function with optional parameter
def some_function (self, a, b, c, d = None, e = None, f = None, g = None, h = None):
#code
def some_function (self, a, b, c, d = None, e = None, f = None, g = None, h = None):
#code