code: def decreasing_probabilities(value):
      
      probs = probabilities(value)
      if len(probs) < 2:
          raise ValueError('Not enough probabilities, found %r' % value)
      elif sorted(probs, reverse=True) != probs:
          raise ValueError('The probabilities %s are not in decreasing order'
                           % value)
      return probs
docs: :param value: input string, comma separated or space separated
      :returns: a list of decreasing probabilities
  
      >>> decreasing_probabilities('1')
      Traceback (most recent call last):
      ...
      ValueError: Not enough probabilities, found '1'
      >>> decreasing_probabilities('0.2 0.1')
      [0.2, 0.1]
      >>> decreasing_probabilities('0.1 0.2')
      Traceback (most recent call last):
      ...
      ValueError: The probabilities 0.1 0.2 are not in decreasing order