We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e654e commit 59918d4Copy full SHA for 59918d4
Data Structures and Algorithms/stack/stack.py
@@ -17,8 +17,8 @@ def print_stack(self):
17
print(self.items)
18
19
stack1=stack()
20
-stack1.push(5)
21
-stack1.pop()
+stack1.push(5) #allows the user to add items to the stack
+stack1.pop() #allows one to remove items to the stack
22
stack1.print_stack()
23
24
0 commit comments