human
Complete this python program:
def default_settings(params):
assistant
#Here is the Python code you requested.

    """Adds default values to settings if it not presented.
    Usage:
    @default_settings({\apt\: \/usr/bin/apt\})
    def match(command, settings):
    print(settings.apt)
    """
    def _default_settings(fn, command):
        for (k, w) in params.items():
            settings.setdefault(k, w)
        return fn(command)
    return decorator(_default_settings)