MCPcopy Create free account
hub / github.com/geekcomputers/Python / push

Method push

Infix_to_Postfix.py:32–34  ·  view source on GitHub ↗
(self, op)

Source from the content-addressed store, hash-verified

30
31 # Push the element to the stack
32 def push(self, op):
33 self.top += 1
34 self.array.append(op)
35
36 # A utility function to check is the given character
37 # is operand

Callers 1

infixToPostfixMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected