human
Solve the following python programming problem given the following code:
def any_option_getter(model) : 
    '
    Get any option from the given Model or SolutionModel, including
    ``costs.`` or ``costs_per_distance.`` options

    ' 
    get_cost = cost_getter (model.get_option) 
    get_cost_pd = cost_getter (model.get_option, 'costs_per_distance') 
    def get_any_option(option) : 
        if ('costs.' in option) : 
            (y, rest, k, cost) = option.split ('.') 
            return get_cost (cost, y, k) 
else : 
            if ('costs_per_distance.' in option) : 
                (y, rest, k, cost) = option.split ('.') 
                return get_cost_pd (cost, y, k) 
else : 
                return model.get_option (option) 
return get_cost 

    
    

    Fix the buggy line: return get_cost
assistant
#Here is Python program to fix the buggy line: return get_cost
.

return def get_any_option(