code: def seed(range=10, hash=None):
      '''
      Returns a random number within a range. Optional hash argument can
      be any hashable object. If hash is omitted or None, the id of the minion is used.
  
      .. versionadded: 2015.8.0
  
      hash: None
          Any hashable object.
  
      range: 10
          Any valid integer number
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' random.seed 10 hash=None
      '''
      if hash is None:
          hash = __grains__['id']
  
      random.seed(hash)
      return random.randrange(rangef seed(range=10, hash=None):
      '''
      Returns a random number within a range. Optional hash argument can
      be any hashable object. If hash is omitted or None, the id of the minion is used.
  
      .. versionadded: 2015.8.0
  
      hash: None
          Any hashable object.
  
      range: 10
          Any valid integer number
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' random.seed 10 hash=None
      '''
      if hash is None:
          hash = __grains__['id']
  
      random.seed(hash)
      return random.randrange(range)
docs: Returns a random number within a range. Optional hash argument can
      be any hashable object. If hash is omitted or None, the id of the minion is used.
  
      .. versionadded: 2015.8.0
  
      hash: None
          Any hashable object.
  
      range: 10
          Any valid integer number
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' random.seed 10 hash=None