lukew3 / mathgenerator

A math problem generator, created for the purpose of giving self-studying students and teaching organizations the means to easily get access to high-quality, generated math problems to suit their needs.
https://lukew3.github.io/mathgenerator
MIT License
680 stars 175 forks source link

Calculate sum of Geometric Progression (G.P.) #364

Closed divyansh1110 closed 2 years ago

divyansh1110 commented 2 years ago

the script will calculate the sum of n terms of AP

I would like to add the script for the above

Thanks

lukew3 commented 2 years ago

Already exists https://github.com/lukew3/mathgenerator/blob/main/mathgenerator/funcs/misc/geometric_progression.py. If you want to check if a generator exists, search in page with ctrl+f on the README/home page.