diff --git a/Project 5/Project 5_ Turtle Maze.pdf b/Project 5/Project 5_ Turtle Maze.pdf index 956b497..dbdae14 100644 Binary files a/Project 5/Project 5_ Turtle Maze.pdf and b/Project 5/Project 5_ Turtle Maze.pdf differ diff --git a/Project 5/Stack.py b/Project 5/Stack.py index fe66070..8258829 100644 --- a/Project 5/Stack.py +++ b/Project 5/Stack.py @@ -60,7 +60,7 @@ class Stack[T]: ''' if self.is_empty(): raise EmptyError("Stack is empty") - return self._data.get_head() + return self._data.head.get_data() def is_empty(self) -> bool: ''' indicates whether the stack is empty diff --git a/Project 5/__pycache__/LinkedList.cpython-314.pyc b/Project 5/__pycache__/LinkedList.cpython-314.pyc index ca2e2b0..0bdd970 100644 Binary files a/Project 5/__pycache__/LinkedList.cpython-314.pyc and b/Project 5/__pycache__/LinkedList.cpython-314.pyc differ