



def        a( A			:       float			)						->			int:
					"""simple docstring"""





					return int(A			) if x - int(A			) <= 0 else int(A			) + 1


if __name__ == "__main__":
				import doctest

				doctest.testmod()





def        a( A			:       int					,	A			:       int					,	A			:       int			)						->			float:
					"""simple docstring"""





					if common_ratio == 1:
										# Formula for sum if common ratio is 1
										return num_of_terms * first_term

					# Formula for finding sum of n terms of a GeometricProgression
					return (first_term / (1 - common_ratio)) * (1 - common_ratio**num_of_terms)
