MCPcopy Index your code
hub / github.com/geekcomputers/Python / push

Method push

balance_parenthesis.py:5–6  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

3 self.items = []
4
5 def push(self, item):
6 self.items.append(item)
7
8 def pop(self):
9 return self.items.pop()

Callers 1

is_balancedFunction · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected