logged(func) that appends the string func.__name__ to a module-level CALLS list every time the wrapped function runs, then returns the original result unchanged. Apply it with @logged and preserve the metadata with functools.wraps.@logged applied to greet; greet(); CALLS
['greet']
The wrapper recorded the call and delegated.
The wrapper signature is (*args, **kwargs).
Return func(*args, **kwargs).