code: def MaximumLikelihood(self):
          
          prob, val = max((prob, val) for val, prob in self.Items())
          return val
docs: Returns the value with the highest probability.
  
          Returns: float probability