mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Compare commits
2 Commits
25921bd37c
...
761e1f7404
Author | SHA1 | Date | |
---|---|---|---|
|
761e1f7404 | ||
|
7e9f2afa8e |
@ -30,7 +30,7 @@ def octal_to_binary(octal_number: str) -> str:
|
||||
ValueError: Empty string was passed to the function
|
||||
"""
|
||||
if not octal_number:
|
||||
raise ValueError("Empty String was passed to the function")
|
||||
raise ValueError("Empty string was passed to the function")
|
||||
|
||||
binary_number = ""
|
||||
octal_digits = "01234567"
|
||||
|
Loading…
x
Reference in New Issue
Block a user