MCPcopy Create free account
hub / github.com/ActiveState/code / push_stack

Function push_stack

recipes/Python/228915_InfixPostfix/recipe-228915.py:12–13  ·  view source on GitHub ↗
(stackArr,ele)

Source from the content-addressed store, hash-verified

10##################################################################################
11
12def push_stack(stackArr,ele):
13 stackArr.append(ele)
14
15def pop_stack(stackArr):
16 return stackArr.pop()

Callers 3

ipFunction · 0.85
piFunction · 0.85
PostfixEvalFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected