code: def histogram(data):
      
      ret = {}
      for datum in data:
          if datum in ret:
              ret[datum] += 1
          else:
              ret[datum] = 1
      return ret
docs: Returns a histogram of your data.
  
      :param data: The data to histogram
      :type data: list[object]
      :return: The histogram
      :rtype: dict[object, int]