We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b080a5e commit d7cc778Copy full SHA for d7cc778
conversions/decimal_to_binary.py
@@ -1,7 +1,7 @@
1
"""Convert a Decimal Number to a Binary Number."""
2
3
4
-def decimal_to_binary(num):
+def decimal_to_binary(num: int) -> str:
5
6
"""
7
Convert a Integer Decimal Number to a Binary Number as str.
0 commit comments