containers.Stack
containers.Stack: last-in first-out (LIFO) stack.
S = containers.Stack ()
Use PUSH, POP, PEEK, ISEMPTY and LENGTH. A Stack is a handle: copies of the variable refer to the same object.
containers.Stackcontainers.Stack: last-in first-out (LIFO) stack.
S = containers.Stack ()
Use PUSH, POP, PEEK, ISEMPTY and LENGTH. A Stack is a handle: copies of the variable refer to the same object.