Skip to content

Commit 6a424b3

Browse files
committed
Fix: Issue TheAlgorithms#9588
2 parents 376cb60 + 155601c commit 6a424b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maths/base_neg2_conversion.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import doctest
22
def decimal_to_negative_base_2(num: int) -> int:
33
"""
4-
This function returns the number negative base 2
4+
This function returns the number negative base 2
55
of the decimal number of the input data.
66
77
Args:
@@ -34,5 +34,6 @@ def decimal_to_negative_base_2(num: int) -> int:
3434

3535
return int(ans)
3636

37+
3738
if __name__ == "__main__":
3839
doctest.testmod()

0 commit comments

Comments
 (0)