MCPcopy Index your code
hub / github.com/geekcomputers/Python / push

Function push

stackF_Harsh2255.py:20–22  ·  view source on GitHub ↗
(stack, item)

Source from the content-addressed store, hash-verified

18
19# Function to add an item to stack. It increases size by 1
20def push(stack, item):
21 stack.append(item)
22 print(item + " pushed to stack ")
23
24
25# Function to remove an item from stack. It decreases size by 1

Callers 1

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected