code: def find_close_value(self, LIST, value):
          '''
          take a LIST and find the nearest value in LIST to 'value'
          '''
          diff = inf
          for a in LIST:
              if abs(value - a) < diff:
                  diff = abs(value - a)
                  result = a
          return(resultf find_close_value(self, LIST, value):
          '''
          take a LIST and find the nearest value in LIST to 'value'
          '''
          diff = inf
          for a in LIST:
              if abs(value - a) < diff:
                  diff = abs(value - a)
                  result = a
          return(result)
docs: take a LIST and find the nearest value in LIST to 'value'