stack lib for python
to import
import stack_lib.queue as stack
init
s = stack.Stack()
some functions
# to add
s.add(<data>)
# to remove
# Ex
item = s.get()
# to display
s.display()
# to check if is empty
s.isempty() # returns bool
stack lib for python
stack lib for python
to import
import stack_lib.queue as stack
init
s = stack.Stack()
some functions
# to add
s.add(<data>)
# to remove
# Ex
item = s.get()
# to display
s.display()
# to check if is empty
s.isempty() # returns bool
stack lib for python
Apache License 2.0