my version of @dis.sociat.ing's dollcode algorithm in python

added some type hinting

+2 -2
+2 -2
main.py
··· 10 10 11 11 def convert_number(num: int): 12 12 output: list[str] = [] 13 - window = num 13 + window: int = num 14 14 15 15 while window > 0: 16 16 mod = window % BASE_NUM ··· 26 26 27 27 28 28 def print_dollcode(output: list[str]): 29 - string = "" 29 + string: str = "" 30 30 31 31 for char in output: 32 32 string += char