Compare commits

...

2 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
761e1f7404 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-20 10:00:30 +00:00
BamaCharanChhandogi
7e9f2afa8e error in exit 1 2023-08-20 15:28:16 +05:30

View File

@ -30,7 +30,7 @@ def octal_to_binary(octal_number: str) -> str:
ValueError: Empty string was passed to the function ValueError: Empty string was passed to the function
""" """
if not octal_number: if not octal_number:
raise ValueError("Empty String was passed to the function") raise ValueError("Empty string was passed to the function")
binary_number = "" binary_number = ""
octal_digits = "01234567" octal_digits = "01234567"