class_docstr: Implements the brute force optimisation strategy
docstr: Returns the nth item or a default value
  
  Parameters
  ----------
  iterable : iterable
  n : int
  default : default=None
      The default value to return
docstr_tok: ["Returns","the","nth","item","or","a","default","value","Parameters","--","--","--","--","--","iterable",":","iterable","n",":","int","default",":","default=None","The","default","value","to","return"]
code: def nth(iterable, n, default=None):
      """Returns the nth item or a default value
  
      Parameters
      ----------
      iterable : iterable
      n : int
      default : default=None
          The default value to return
      """
  
      if type(n) != int:
          raise TypeError("n is not an integer")
  
      return next(islice(iterable, n, None), default)
  
file_path: SALib/src/SALib/sample/morris/brute.py
imports: from SALib.sample.morris.strategy import Strategy
  from scipy.special import comb
  from itertools import combinations, islice
  import sys
  import numpy
  from typing import List
label_desc: Use image node_id 7 for calling the BruteForce obj's underlying member method code with example usage: obj.nth(iterable, n, default) and returns: next