Easy
Pass Any Arguments Through
Write a decorator
trace whose wrapper takes *args, **kwargs, prints args=ARGS and returns func(*args, **kwargs). Decorate join(a, b, sep='-') and print join(x, y) for two input words.Input
Two lines.
Output
Two lines.
Sample 1
Input
a b
Output
args=('a', 'b')
a-bSample 2
Input
hello world
Output
args=('hello', 'world')
hello-worldOutput appears here