Skip to content

Commit 00fa582

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 247475f commit 00fa582

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

blockchain/diophantine_equation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22
from maths.greatest_common_divisor import greatest_common_divisor
33

4+
45
def diophantine(a: int, b: int, c: int) -> tuple[float, float]:
56
"""
67
Diophantine Equation : Given integers a,b,c ( at least one of a and b != 0), the
@@ -97,6 +98,7 @@ def extended_gcd(a: int, b: int) -> tuple[int, int, int]:
9798

9899
return (d, x, y)
99100

101+
100102
# This is very efficient
101103

102104
if __name__ == "__main__":

0 commit comments

Comments
 (0)