-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
Hacktoberfest 2020: Add typehints and default argument for project_euler/problem_01 #2891
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
This PR addresses the issues mentioned in #2786(comment) in the directory for Project Euler Problem 01 |
A default of a 1000 seems arbitrary and, to me, would be "unexpected" behavior, if the function was used in a program. Also, why not squash the commits? |
@CMeza99 I definitely see how Problem 01 specifically mentions I think it makes sense to squash these commits. |
Squashed commit of the following: commit 6801d07 Author: Archaengel <[email protected]> Date: Mon Oct 5 16:40:10 2020 -0700 Fix typehints in project_euler/problem01 commit 29afc3a Author: Archaengel <[email protected]> Date: Mon Oct 5 15:06:34 2020 -0700 Add typehints and default argument for project_euler/problem_01
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.
This is perfect! Thank you for doing this.
Also @archaengel please don't squash your commits as it will be done by us when we merge them. It is unnecessary on your end to do it. @CMeza99 Please refer #2786 |
@dhruvmanila Gotcha, I'll keep that in mind. Thanks for the review! |
Squashed commit of the following: commit 6801d07 Author: Archaengel <[email protected]> Date: Mon Oct 5 16:40:10 2020 -0700 Fix typehints in project_euler/problem01 commit 29afc3a Author: Archaengel <[email protected]> Date: Mon Oct 5 15:06:34 2020 -0700 Add typehints and default argument for project_euler/problem_01
Squashed commit of the following: commit 6801d07 Author: Archaengel <[email protected]> Date: Mon Oct 5 16:40:10 2020 -0700 Fix typehints in project_euler/problem01 commit 29afc3a Author: Archaengel <[email protected]> Date: Mon Oct 5 15:06:34 2020 -0700 Add typehints and default argument for project_euler/problem_01
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}
.Related: #2786