From 7fd07c7d6725ff548dc1ec7ebcbe2a950b5bdfbe Mon Sep 17 00:00:00 2001 From: Abimbola Ronald Date: Mon, 24 Jul 2023 09:13:19 -0700 Subject: [PATCH] Advanced Task --- python-classes/100-singly_linked_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-classes/100-singly_linked_list.py b/python-classes/100-singly_linked_list.py index 0c9a6f9..6b6030b 100755 --- a/python-classes/100-singly_linked_list.py +++ b/python-classes/100-singly_linked_list.py @@ -12,8 +12,8 @@ def __init__(self, data, next_node=None): data (int): The data of the new Node. next_node (Node): The next node of the new Node. """ - self.__data = data - self.__next_node = next_node + self.data = data + self.next_node = next_node @property def data(self):