Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
def
push_stack(stackArr,ele):
13
stackArr.append(ele)
14
15
def
pop_stack(stackArr):
16
return
stackArr.pop()
Callers
3
ip
Function · 0.85
pi
Function · 0.85
PostfixEval
Function · 0.85
Calls
1
append
Method · 0.45
Tested by
no test coverage detected