Update decimal_to_binary.py (#2185)

"an Integer" instead of "a Integer"
This commit is contained in:
Hardik Aggarwal 2020-07-07 16:56:10 +05:30 committed by GitHub
parent aa01114c27
commit b6ca263983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
def decimal_to_binary(num: int) -> str: def decimal_to_binary(num: int) -> str:
""" """
Convert a Integer Decimal Number to a Binary Number as str. Convert an Integer Decimal Number to a Binary Number as str.
>>> decimal_to_binary(0) >>> decimal_to_binary(0)
'0b0' '0b0'
>>> decimal_to_binary(2) >>> decimal_to_binary(2)