Add Project Euler Problem 078 solution 01 (#5565) · zinating/algorithms-python@329feb4 · GitHub
Skip to content

Commit 329feb4

Browse files
FirePing32github-actionspoyea
authored
Add Project Euler Problem 078 solution 01 (TheAlgorithms#5565)
* Create sol1.py * updating DIRECTORY.md * Create __init__.py * Add docstring * Reformat with black * Fix flake8 issues * Add EOL * Fix formatting issues * Add docstring * Add func return type * Change return type * Remove test print statement * Reformat code * Fix return types * Break loop * Update doctest sol * Update project_euler/problem_078/sol1.py Co-authored-by: John Law <johnlaw.po@gmail.com> * Added doctest and changed return type * Add int() * Fix flake8 issues * Use argument instead of fixed constant * Update sol1.py * fix sol1.py Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: John Law <johnlaw.po@gmail.com>
1 parent ce9a139 commit 329feb4

3 files changed

Lines changed: 57 additions & 0 deletions

File tree

DIRECTORY.md

Lines changed: 2 additions & 0 deletions

project_euler/problem_078/__init__.py

Whitespace-only changes.

project_euler/problem_078/sol1.py

Lines changed: 55 additions & 0 deletions

0 commit comments

Comments
 (0)