input: def optimize_code(fn, params):
      """Optimizes the given function using a brute-force approach within a range of +/- 10 for each parameter.
      Returns the parameters that provide the highest result based on the function.
      >>> optimize_code(lambda x: x[0] + x[1] + x[2], (1, 2, 3))
      {'a': 11, 'b': 12, 'c': 13}
      """
      best_score = 0
      best_params = None
      for a in range(params[0] - 10, params[0] + 10):
          for b in range(params[1] - 10, params[1] + 10):
              for c in range(params[2] - 10, params[2] + 10):
                  score = fn((a, b, c))
                  if score > best_score:
                      best_score = score
                      best_params = {
                          'a': a,
                          'b': b,
                          'c': c
                      }
      return best_params
output:     best_score = 0
      best_params = None
      for a in range(params[0] - 10, params[0] + 10):
          for b in range(params[1] - 10, params[1] + 10):
              for c in range(params[2] - 10, params[2] + 10):
                  score = fn((a, b, c))
                  if score > best_score:
                      best_score = score
                      best_params = {
                          'a': a,
                          'b': b,
                          'c': c
                      }
      return best_params