


"""simple docstring"""







import os
import time

import pytest

from datasets.utils.filelock import FileLock, Timeout


def      lowercase			(				A_       )->      Any:
  '''simple docstring'''







  a						:		Tuple      							=			FileLock(str(tmpdir / "foo.lock"       )       )
  a						:		Tuple      							=			FileLock(str(tmpdir / "foo.lock"       )       )
  a						:		List[str]      							=			0.0_1
  with locka.acquire():
    with pytest.raises(A_       ):
      a						:		Tuple      							=			time.time()
      locka.acquire(A_       )
      assert time.time() - _start > timeout







def      lowercase			(				A_       )->      Optional[int]:
  '''simple docstring'''







  a						:		Optional[Any]      							=			"a" * 1_000 + ".lock"
  a						:		Dict      							=			FileLock(str(tmpdir / filename       )       )
  assert locka._lock_file.endswith(".lock"       )
  assert not locka._lock_file.endswith(A_       )
  assert len(os.path.basename(locka._lock_file       )       ) <= 255
  a						:		int      							=			FileLock(tmpdir / filename       )
  with locka.acquire():
    with pytest.raises(A_       ):
      locka.acquire(0       )










"""simple docstring"""







def      lowercase			(				A_       )->      bool:
  '''simple docstring'''







  if not all(x.isalpha() for x in string       ):
    raise ValueError("String must only contain alphabetic characters."       )

  a						:		Tuple      							=			sorted(string.lower()       )
  return len(A_       ) == len(set(A_       )       )


if __name__ == "__main__":
 __lowercase    					=      input("""Enter a string """).strip()

 __lowercase    					=      is_isogram(input_str)
 print(f'''{input_str} is {'an' if isogram else 'not an'} isogram.''')






