mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-26 02:48:40 +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
f1c6a65593
commit
c9e7bf6e45
@ -91,6 +91,8 @@ def octal_to_binary(octal:str) -> str:
|
|||||||
|
|
||||||
return "0b" + "".join(str(e) for e in binary)
|
return "0b" + "".join(str(e) for e in binary)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from doctest import testmod
|
from doctest import testmod
|
||||||
|
|
||||||
testmod()
|
testmod()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user