mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
8906c9d676
commit
920fcc4559
@ -8,8 +8,8 @@ https://en.wikipedia.org/wiki/Octal
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def octal_to_binary(octal_number: str) -> str:
|
|
||||||
|
|
||||||
|
def octal_to_binary(octal_number: str) -> str:
|
||||||
"""
|
"""
|
||||||
ValueError: String to the function
|
ValueError: String to the function
|
||||||
>>> oct_to_decimal("Av")
|
>>> oct_to_decimal("Av")
|
||||||
@ -51,4 +51,4 @@ def octal_to_binary(octal_number: str) -> str:
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import doctest
|
import doctest
|
||||||
|
|
||||||
doctest.testmod()
|
doctest.testmod()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user