




'''simple docstring'''







from __future__ import annotations

import math



def        lowerCamelCase__				(      __lowercase				):

     if 1 < number < 4:
          # 2 and 3 are primes
          return True
     elif number < 2 or number % 2 == 0 or number % 3 == 0:
          # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
          return False

     # All primes number are in format of 6k +/- 1
     for i in range(5     ,   int(math.sqrt(__lowercase				) + 1				)     ,   6				):
          if number % i == 0 or number % (i + 2) == 0:
               return False
     return True



def        lowerCamelCase__				(      __lowercase				):
     snake_case			:      str        =			str(__lowercase				)
     snake_case			:      List[str]        =			[n]
     for i in range(1     ,   len(__lowercase				)				):
          list_nums.append(int(str_num[i:]				)				)
          list_nums.append(int(str_num[:-i]				)				)
     return list_nums



def        lowerCamelCase__				(      __lowercase				):
     if len(str(__lowercase				)				) > 3:
          if not is_prime(int(str(__lowercase				)[-3:]				)				) or not is_prime(int(str(__lowercase				)[:3]				)				):
               return False
     return True



def        lowerCamelCase__				(      __lowercase = 11				):
     snake_case			:      list[int]        =			[]
     snake_case			:      int        =			13
     while len(__lowercase				) != count:
          if validate(__lowercase				):
               snake_case			:      Optional[Any]        =			list_truncated_nums(__lowercase				)
               if all(is_prime(__lowercase				) for i in list_nums				):
                    list_truncated_primes.append(__lowercase				)
          num += 2
     return list_truncated_primes



def        lowerCamelCase__				(      ):
     return sum(compute_truncated_primes(11				)				)


if __name__ == "__main__":
      print(F"""{sum(compute_truncated_primes(11)) = }""")









'''simple docstring'''







import os


# All paths are set with the intent you should run this script from the root of the repo with the command
# python utils/check_doctest_list.py
lowercase      :   List[str]      =       """."""


if __name__ == "__main__":
      lowercase      :   List[str]      =       os.path.join(REPO_PATH, """utils/documentation_tests.txt""")
      lowercase      :   Union[str, Any]      =       []
      lowercase      :   List[str]      =       []
      with open(doctest_file_path) as fp:
            for line in fp:
                  lowercase      :   List[str]      =       line.strip()
                  lowercase      :   Optional[Any]      =       os.path.join(REPO_PATH, line)
                  if not (os.path.isfile(path) or os.path.isdir(path)):
                        non_existent_paths.append(line)
                  all_paths.append(path)
      if len(non_existent_paths) > 0:
            lowercase      :   int      =       """\n""".join(non_existent_paths)
            raise ValueError(F"""`utils/documentation_tests.txt` contains non-existent paths:\n{non_existent_paths}""")
      if all_paths != sorted(all_paths):
            raise ValueError("""Files in `utils/documentation_tests.txt` are not in alphabetical order.""")



