Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHacktoberfest 2020 - Style Improvements for project_euler/problem_26 #2958
Conversation
| # Tests | ||
| if __name__ == "__main__": | ||
| import doctest | ||
| def solution(n: int = 1000) -> int: |
dhruvmanila
Oct 7, 2020
Member
Instead of making another function, change the name of the original function and add default arguments to it.
Also, please don't remove the doctest part in if __name__ == "__main__": block
Instead of making another function, change the name of the original function and add default arguments to it.
Also, please don't remove the doctest part in if __name__ == "__main__": block
Describe your change:
Style and testing improvements for Project Euler problem 26
Related to: #2786
Checklist:
Fixes: #{$ISSUE_NO}.