


import pytest

from datasets.utils.version import Version






@pytest.mark.parametrize(
    "other, expected_equality"				,						[
        (Version("1.0.0"     ), True),
        ("1.0.0", True),
        (Version("2.0.0"     ), False),
        ("2.0.0", False),
        ("1", False),
        ("a", False),
        (1, False),
        (None, False),
    ]				,						)
def 		lowercase_(  SCREAMING_SNAKE_CASE_				,						SCREAMING_SNAKE_CASE_     ):


  '''simple docstring'''

  lowerCamelCase			: Any   =    Version("1.0.0"     )
  assert (version == other) is expected_equality
  assert (version != other) is not expected_equality
  assert (hash(SCREAMING_SNAKE_CASE_     ) == hash(SCREAMING_SNAKE_CASE_     )) is expected_equality







def 		lowercase_(  SCREAMING_SNAKE_CASE_				,						SCREAMING_SNAKE_CASE_     ):


  '''simple docstring'''

  sequence.append(SCREAMING_SNAKE_CASE_     )

  lowerCamelCase			: str   =    0
  while sequence[index] != target:
    index += 1

  sequence.pop()

  if index == len(SCREAMING_SNAKE_CASE_     ):
    return None

  return index


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

   _snake_case					=					input('''Enter a single number to be found in the list:\n''')
   _snake_case					=					int(target_input)
   _snake_case					=					sentinel_linear_search(sequence, target)
   if result is not None:
      print(f'''{target} found at positions: {result}''')
   else:
      print('''Not found''')



