diff --git a/Project 5/Stack.py b/Project 5/Stack.py index 496dfc0..c4b7c06 100644 --- a/Project 5/Stack.py +++ b/Project 5/Stack.py @@ -38,7 +38,7 @@ class Stack[T]: Returns: None ''' - pass + self._data.insert_head(item) def pop(self) -> T: ''' removes the topmost element from the stack and returns that element