From e25318b3364166eadf48d6fc800e808daee99476 Mon Sep 17 00:00:00 2001 From: Benjamin Adovasio Date: Sun, 15 Mar 2026 16:28:26 -0400 Subject: [PATCH] added push --- Project 5/Stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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