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):