




'''simple docstring'''



def       _UpperCamelCase			(_lowerCamelCase				:  int ,						_lowerCamelCase				:  int ,						_lowerCamelCase				:  int						)-> float:




     '''simple docstring'''





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







def       _UpperCamelCase			()-> str:




     '''simple docstring'''





     print(sum_of_series(1 ,						1 ,						10						)						)


if __name__ == "__main__":
     import doctest

     doctest.testmod()








'''simple docstring'''
import math






def      UpperCamelCase_				(      A__ = 1_00						):
	a_      				=						sum(i * i for i in range(1  ,      n + 1						)						)
	a_      				=						int(math.pow(sum(range(1  ,      n + 1						)						)  ,      2						)						)
	return square_of_sum - sum_of_squares


if __name__ == "__main__":
		print(F"""{solution() = }""")
