Easy
Print the Function's Name
Write a decorator that prints
running NAME (using func.__name__) and then returns the function's result. Decorate total(a, b) and print total(a, b) for two input integers.Input
Two integers.
Output
Two lines.
Sample 1
Input
2 3
Output
running total 5
Sample 2
Input
0 0
Output
running total 0
Output appears here