Skip to content

Commit 5793dcb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 583c91b commit 5793dcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maths/addition_without_arithmetic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def add(first: int, second: int) -> int:
3131
- AND (&) to calculate carry bits
3232
- Left shift (<<) to move the carry to the correct position
3333
"""
34-
35-
while second != 0: # Continue until there is no carry left
34+
35+
while second != 0: # Continue until there is no carry left
3636
c = first & second
3737
first ^= second
3838
second = c << 1

0 commit comments

Comments
 (0)