code: def extract_from_dict(data, path):
      
      value = data
      try:
          for key in path:
              value = value[key]
          return value
      except (KeyError, IndexError, TypeError):
          return ''
docs: Navigate `data`, a multidimensional array (list or dictionary), and returns
      the object at `path`.