positive_args(func) — a decorator raising ValueError if ANY positional argument is a negative number, before the wrapped function runs. Decorating deposit(account_id, amount) then centralizes validation that would otherwise repeat in every money function.decorated_deposit(1, 500)
normal result
All positives pass through.
decorated_deposit(1, -500)
ValueError
The wrapper rejected before execution.
isinstance(a, (int, float)) and a < 0.
any() over args.