Skip to content

Commit 045652d

Browse files
committed
Fix: Issue 9588
1 parent 1fab302 commit 045652d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: maths/base_neg2_conversion.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import doctest
2-
def decimal_to_negative_base_2(n):
2+
def decimal_to_negative_base_2(n: int) -> int:
33
"""
4-
This function returns the number negative base 2 of the decimal number of the input data.
4+
This function returns the number negative base 2
5+
of the decimal number of the input data.
56
67
Args:
78
int: The decimal number to convert.

0 commit comments

Comments
 (0)