[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-01 10:23:07 +00:00
parent fdbea27d41
commit 57405add11

View File

@ -336,10 +336,10 @@ class SortedLinkedList:
self.tail = other_list.tail
return
else:
temp=otherother_list.head
temp = otherother_list.head
while temp:
self.insert(temp.data)
temp=temp.next_node
temp = temp.next_node
if __name__ == "__main__":