Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ push
Function
push
stack.py:23–24 ·
view source on GitHub ↗
(stack, item)
Source
from the content-addressed store, hash-verified
21
# Function to add an item to stack .
22
# It increases size by 1
23
def
push(stack, item):
24
stack.append(item)
25
26
27
# Function to remove an item from stack.
Callers
1
reverse
Function · 0.70
Calls
1
append
Method · 0.45
Tested by
no test coverage detected