diff --git a/Project 5/Stack.py b/Project 5/Stack.py index f70543a..d7dfc05 100644 --- a/Project 5/Stack.py +++ b/Project 5/Stack.py @@ -67,7 +67,7 @@ class Stack[T]: Returns: True if the stack is empty, False otherwise ''' - pass + return len(self._data) == 0 def __str__(self) -> str: ''' returns an str implementation of the Stack '''