



"""simple docstring"""






def 			_lowercase				(  __snake_case					,__snake_case					,__snake_case	)						->   float:
			__lowerCAmelCase      :  List[str]												=       (num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
			# formula for sum of series
			return total


def 			_lowercase				(  )						->   Optional[int]:
			print(sum_of_series(1					,1					,10	)	)


if __name__ == "__main__":
	import doctest

	doctest.testmod()




"""simple docstring"""






def 			_lowercase				(  __snake_case					,__snake_case	)						->   float:
			if digit_amount > 0:
						return round(number - int(__snake_case	)					,__snake_case	)
			return number - int(__snake_case	)


if __name__ == "__main__":
	print(decimal_isolate(1.53, 0))
	print(decimal_isolate(35.345, 1))
	print(decimal_isolate(35.345, 2))
	print(decimal_isolate(35.345, 3))
	print(decimal_isolate(-14.789, 3))
	print(decimal_isolate(0, 2))
	print(decimal_isolate(-14.123, 1))
	print(decimal_isolate(-14.123, 2))
	print(decimal_isolate(-14.123, 3))