
def      _a     (   __UpperCamelCase       :  list	,__UpperCamelCase       :  int    ):
   for index, item in enumerate(__UpperCamelCase    ):
      if item == target:
         return index
   return -1



def      _a     (   __UpperCamelCase       :  list	,__UpperCamelCase       :  int	,__UpperCamelCase       :  int	,__UpperCamelCase       :  int    ):
   if not (0 <= high < len(__UpperCamelCase    ) and 0 <= low < len(__UpperCamelCase    )):
      raise Exception('''Invalid upper or lower bound!'''    )
   if high < low:
      return -1
   if sequence[low] == target:
      return low
   if sequence[high] == target:
      return high
   return rec_linear_search(__UpperCamelCase	,low + 1	,high - 1	,__UpperCamelCase    )


if __name__ == "__main__":
       A__       :   List[Any]   						=					input("""Enter numbers separated by comma:\n""").strip()
       A__       :   Any   						=					[int(item.strip()) for item in user_input.split(""",""")]

       A__       :   int   						=					int(input("""Enter a single number to be found in the list:\n""").strip())
       A__       :   Union[str, Any]   						=					linear_search(sequence, target)
       if result != -1:
              print(f"""linear_search({sequence}, {target}) = {result}""")
       else:
              print(f"""{target} was not found in {sequence}""")





# tests directory-specific settings - this file is run automatically
# by pytest before any tests are run

import sys
import warnings
from os.path import abspath, dirname, join


# allow having multiple repository checkouts and not needing to remember to rerun
# 'pip install -e .[dev]' when switching between checkouts and running tests.
A__       :   Optional[Any]   						=					abspath(join(dirname(dirname(dirname(__file__))), """src"""))
sys.path.insert(1, git_repo_path)


# silence FutureWarning warnings in tests since often we can't act on them until
# they become normal warnings - i.e. the tests still need to test the current functionality
warnings.simplefilter(action="""ignore""", category=FutureWarning)



def      _a     (   __UpperCamelCase       :  Tuple    ):
			from transformers.testing_utils import pytest_addoption_shared

			pytest_addoption_shared(__UpperCamelCase    )



def      _a     (   __UpperCamelCase       :  int    ):
			from transformers.testing_utils import pytest_terminal_summary_main

			lowerCAmelCase__ :    int				      =			terminalreporter.config.getoption('''--make-reports'''    )
			if make_reports:
						pytest_terminal_summary_main(__UpperCamelCase	,id=__UpperCamelCase    )



