mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Update decimal_to_binary.py (#2185)
"an Integer" instead of "a Integer"
This commit is contained in:
parent
aa01114c27
commit
b6ca263983
@ -4,7 +4,7 @@
|
||||
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)
|
||||
'0b0'
|
||||
>>> decimal_to_binary(2)
|
||||
|
Loading…
Reference in New Issue
Block a user