Skip to content
Snippets Groups Projects
Verified Commit ac524b62 authored by iliya.saroukha's avatar iliya.saroukha :first_quarter_moon:
Browse files

fix: typing

parent 4544d926
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ def encode(input: str) -> str: ...@@ -151,7 +151,7 @@ def encode(input: str) -> str:
return ' '.join(encoded)[1:] return ' '.join(encoded)[1:]
def decode(encoded: str) -> (str, str): def decode(encoded: str) -> tuple[str, str]:
bits = encoded.replace(' ', '') bits = encoded.replace(' ', '')
tree = Node() tree = Node()
result = '' result = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment