





def    A_(			A				,      A				,      A   ):
	UpperCAmelCase_								=     (num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
	# formula for sum of series
	return total




def    A_(			):
	print(sum_of_series(1				,      1				,      10   )   )


if __name__ == "__main__":
				import doctest

				doctest.testmod()









from __future__ import annotations




def    A_(			A   ):
	if not nums:
		raise ValueError("""List is empty"""   )
	return sum(A   ) / len(A   )


if __name__ == "__main__":
				import doctest

				doctest.testmod()


