human
Complete the below
def benchmarkNFunc(iter, ns):

    ''''A decorator for benchmark functions that measure multiple iteration
    counts. Registers the function with the given iteration count to the global
    benchmarkFuncs list.'
    '''
 ... Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
    def decorator(func):
        for n in ns:
            benchmarkFuncs.append((func, (n,), iter))
        return func
    return decorator