Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ pop
Method
pop
Stack.py:14–15 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
12
self.items.append(item)
13
# 从栈内推出最后一个元素
14
def
pop(self):
15
return
self.items.pop()
16
# 返回栈顶元素
17
def
peek(self):
18
return
self.items[len(self.items)-1]
Callers
15
buildParseTree
Function · 0.95
revstring
Function · 0.95
parChecker
Function · 0.95
Dec2Bin
Function · 0.95
baseConverter
Function · 0.95
infixToPostfix
Function · 0.95
delMin
Method · 0.45
ChangeMaking
Function · 0.45
coinRow
Function · 0.45
dequeue
Method · 0.45
removeFront
Method · 0.45
removeRear
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected