Solution to problem 9 part 1 in Python
This commit is contained in:
parent
ede1707d48
commit
131a7afee7
|
@ -42,7 +42,7 @@ with open("files/P9.txt") as f:
|
|||
chars = [line for line in f.read().strip().split()]
|
||||
|
||||
|
||||
def recursive_decompression(my_str):
|
||||
def recursive_decompression(my_str: str) -> str:
|
||||
marker = re.search(r"\(\d+x\d+\)", my_str)
|
||||
|
||||
if not marker:
|
||||
|
|
Loading…
Reference in New Issue