diff --git a/Python Algos/Stacks_Algo.py b/Python Algos/Stacks_Algo.py index e0f9d8a..f7af4db 100644 --- a/Python Algos/Stacks_Algo.py +++ b/Python Algos/Stacks_Algo.py @@ -29,3 +29,10 @@ def display(self): s.push(z) count += 1 print(s.display()) + print("Length of stack :",s.size()) + print("Popping two elements from stack") + s.pop() + s.pop() + print(s.display()) + print("Length of stack :",s.size()) +