Skip to content

Commit 70ed5a7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 750c1cc commit 70ed5a7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

maths/least_common_multiple.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ def least_common_multiple_fast(first_num: int, second_num: int) -> int:
4444
if first_num == 0 or second_num == 0:
4545
return 0
4646

47-
return abs(
48-
first_num // greatest_common_divisor(first_num, second_num) * second_num
49-
)
47+
return abs(first_num // greatest_common_divisor(first_num, second_num) * second_num)
5048

5149

5250
def benchmark():

0 commit comments

Comments
 (0)