human
Complete this python program:
def benchmarkNFunc(iter, ns):
assistant
#Here is the Python program you requested.

    """A decorator for benchmark functions that measure multiple iteration
    counts. Registers the function with the given iteration count to the global
    benchmarkFuncs list.
    """
    def decorator(func):
        for n in ns:
            benchmarkFuncs.append((func, (n,), iter))
        return func
    return decorator