Skip to content

Commit 2bf88ec

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 35a89e1 commit 2bf88ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/decimal_to_fraction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def decimal_to_fraction(decimal: float | str) -> tuple[int, int]:
1414
>>> decimal_to_fraction("6.25")
1515
(25, 4)
1616
>>> decimal_to_fraction("78td")
17-
17+
1818
Traceback (most recent call last):
1919
ValueError: Please enter a valid number
2020
>>> decimal_to_fraction(0)

0 commit comments

Comments
 (0)