From 975b4d7dbd5081974045ae5cf6e9ded5fce46b0e Mon Sep 17 00:00:00 2001 From: marina <138340846+bt3gl-cryptographer@users.noreply.github.com> Date: Mon, 7 Aug 2023 17:51:46 -0700 Subject: [PATCH] Update stack.py --- stacks/stack.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/stacks/stack.py b/stacks/stack.py index cecc22e..def6b47 100644 --- a/stacks/stack.py +++ b/stacks/stack.py @@ -10,15 +10,9 @@ class Stack: self.min_array = [] self.min = float('inf') - ###################### - # Private methods - ###################### def __repr__(self): return f'{self.content}' - ###################### - # Properties - ###################### @property def size(self): return len(self.content) @@ -34,9 +28,6 @@ class Stack: def is_empty(self): return not bool(self.content) - ###################### - # Public methods - ###################### def push(self, value): if value < self.min: self.min = value