-
-
Notifications
You must be signed in to change notification settings - Fork 46.8k
sum_of_geometric_progression #2168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey @AxSmasher44, TravisCI finished with status TravisBuddy Request Identifier: 073b4e30-bd72-11ea-a595-8f8781864445 |
Does this work for floating point parameters? Does it work for negative parameters? |
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Yes, it works for floating point parameters and negative parameters. |
Hey @AxSmasher44, TravisCI finished with status TravisBuddy Request Identifier: adf914c0-bdd4-11ea-a595-8f8781864445 |
Travis tests have failedHey @AxSmasher44, TravisBuddy Request Identifier: a0878b30-bdd6-11ea-a595-8f8781864445 |
Hey @AxSmasher44, TravisCI finished with status TravisBuddy Request Identifier: 096e9190-be25-11ea-a595-8f8781864445 |
Do these tests with zeros and negative numbers make sense or is this garbage data that should be detected and then rejected with a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add files via upload * Rename sum_of_Geometric_Progression.py to sum_of_geometric_progression.py * Update sum_of_geometric_progression.py * Update maths/sum_of_geometric_progression.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update maths/sum_of_geometric_progression.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update maths/sum_of_geometric_progression.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update sum_of_geometric_progression.py * Update sum_of_geometric_progression.py * Type hints and test for zeros and negative numbers * Update sum_of_geometric_progression.py Co-authored-by: Christian Clauss <cclauss@me.com>
Describe your change:
Implemented algorithm for finding the sum of 'n' terms of a geometric progression
Checklist:
Fixes: #{$ISSUE_NO}
.