mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00: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