python default parameters depend on other paramters code example
Example: python default parameters depend on other paramters
def func(n=5.0, delta=None): # other ways are not supported
if delta is None:
delta = n/10
def func(n=5.0, delta=None): # other ways are not supported
if delta is None:
delta = n/10