Optional function parameters in Python
Optional parameters of functions in Python have default value. This value is specified by equal sign after the variable.
For example:
def example(abc=123)
If a value of abc is not specified when this function is called, it will take default value.
Comments
Post a Comment