human
Give me a the Python program you requested given the following:
Complete the below
def calculator(counter_type):

    ''''A decorator that assign a counter_type to its calculator.'
    '''
assistant
#Here is the Python program you requested.
    def set_calculator(func):
        _counter_type_calculators[counter_type] = func
        return func
    return set_calculator