Hacktoberfest 2020: Add typehints and default argument for project_euler/problem_01#2891
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 <god11341258@gmail.com> Date: Mon Oct 5 16:40:10 2020 -0700 Fix typehints in project_euler/problem01 commit 29afc3a Author: Archaengel <god11341258@gmail.com> Date: Mon Oct 5 15:06:34 2020 -0700 Add typehints and default argument for project_euler/problem_01
dhruvmanila
left a comment
There was a problem hiding this comment.
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 <god11341258@gmail.com> Date: Mon Oct 5 16:40:10 2020 -0700 Fix typehints in project_euler/problem01 commit 29afc3a Author: Archaengel <god11341258@gmail.com> 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 <god11341258@gmail.com> Date: Mon Oct 5 16:40:10 2020 -0700 Fix typehints in project_euler/problem01 commit 29afc3a Author: Archaengel <god11341258@gmail.com> 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