code: def Mult(self, x, factor):
          
          self.d[x] = self.d.get(x, 0) * factor
docs: Scales the freq/prob associated with the value x.
  
          Args:
              x: number value
              factor: how much to multiply by