From 57405add1103175c3303f7a06c422b7641341626 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:23:07 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- data_structures/linked_list/sorted_linked_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_structures/linked_list/sorted_linked_list.py b/data_structures/linked_list/sorted_linked_list.py index 8a133e568..8a8771813 100644 --- a/data_structures/linked_list/sorted_linked_list.py +++ b/data_structures/linked_list/sorted_linked_list.py @@ -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__":