This commit is contained in:
krahets
2023-05-22 22:01:18 +08:00
parent 29807a3761
commit be77ba7a70
16 changed files with 60 additions and 58 deletions

View File

@@ -447,7 +447,7 @@ comments: true
def to_list(self) -> list[int]:
"""转化为列表用于打印"""
arr: list[int] = []
arr = []
node = self.__peek
while node:
arr.append(node.val)