


def 			_lowerCAmelCase						(							lowerCAmelCase_							:int		,						lowerCAmelCase_							:int		,						lowerCAmelCase_							: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)








import safs


class     __lowerCAmelCase     ( safs.SaFileSystem					):






  """simple docstring"""




