





def      lowerCAmelCase_ (       __a	,    __a	,    __a		)     ->		float:







  """simple docstring"""





  lowerCamelCase__:      str			  =(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
  # formula for sum of series
  return total





def      lowerCAmelCase_ (       )     ->		List[Any]:







  """simple docstring"""





  print(sum_of_series(1	,    1	,    10		)		)


if __name__ == "__main__":
     import doctest

     doctest.testmod()








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
__A									=				"."


if __name__ == "__main__":
     __A									=				os.path.join(REPO_PATH, "utils/documentation_tests.txt")
     __A									=				[]
     __A									=				[]
     with open(doctest_file_path) as fp:
          for line in fp:
               __A									=				line.strip()
               __A									=				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:
          __A									=				"\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.")

