Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ pop_stack
Function
pop_stack
recipes/Python/228915_InfixPostfix/recipe-228915.py:15–16 ·
view source on GitHub ↗
(stackArr)
Source
from the content-addressed store, hash-verified
13
stackArr.append(ele)
14
15
def
pop_stack(stackArr):
16
return
stackArr.pop()
17
18
def
isOperand(who):
19
if
(not(isOperator(who)) and (who !=
"("
) and (who !=
")"
)):
Callers
3
ip
Function · 0.85
pi
Function · 0.85
PostfixEval
Function · 0.85
Calls
1
pop
Method · 0.45
Tested by
no test coverage detected