mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
refactor: Indent ... for visual purposes (#7744)
This commit is contained in:
parent
e8915097c4
commit
9bba42eca8
@ -9,11 +9,11 @@ The function below will convert any binary string to the octal equivalent.
|
|||||||
|
|
||||||
>>> bin_to_octal("")
|
>>> bin_to_octal("")
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
...
|
...
|
||||||
ValueError: Empty string was passed to the function
|
ValueError: Empty string was passed to the function
|
||||||
>>> bin_to_octal("a-1")
|
>>> bin_to_octal("a-1")
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
...
|
...
|
||||||
ValueError: Non-binary value was passed to the function
|
ValueError: Non-binary value was passed to the function
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user