python function optional argument default value code example
Example: python function parameters default value
def F(a, b=None):
if b is None:
b = []
b.append(a)
return b
def F(a, b=None):
if b is None:
b = []
b.append(a)
return b