[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:25:58 +00:00
parent 3d9263b279
commit 99baa932fc

View File

@ -336,7 +336,7 @@ class SortedLinkedList:
self.tail = other_list.tail
return
else:
temp=other_list.head
temp = other_list.head
while temp:
self.insert(temp.data)
temp = temp.next_node