Skip to content

Instantly share code, notes, and snippets.

class Stack:
def __init__(self):
self._container = []
def push(self, item):
return _container.append(item)
def pop(self)
return _container.pop()
def __repr__(self):