Skip to content

Add Project Euler problem 94 solution 1 #8599

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

Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2023
commit 206dbd960aaa63a78fe23cf7c858c74cd61dbda4
1 change: 1 addition & 0 deletions project_euler/problem_094/sol1.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
lengths and area and whose perimeters do not exceed one billion (1,000,000,000).
"""


def solution(max_perimeter: int = 10**9) -> int:
"""
Returns the sum of the perimeters of all almost equilateral triangles with integral
Expand Down