code: def MakePmfFromList(t, name=''):
      
      hist = MakeHistFromList(t)
      d = hist.GetDict()
      pmf = Pmf(d, name)
      pmf.Normalize()
      return pmf
docs: Makes a PMF from an unsorted sequence of values.
  
      Args:
          t: sequence of numbers
          name: string name for this PMF
  
      Returns:
          Pmf object