mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-23 22:23:35 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fdbea27d41
commit
57405add11
@ -336,10 +336,10 @@ class SortedLinkedList:
|
|||||||
self.tail = other_list.tail
|
self.tail = other_list.tail
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
temp=otherother_list.head
|
temp = otherother_list.head
|
||||||
while temp:
|
while temp:
|
||||||
self.insert(temp.data)
|
self.insert(temp.data)
|
||||||
temp=temp.next_node
|
temp = temp.next_node
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user