Skip to content

Commit e43b6bf

Browse files
gaurangvyas98abranhe
authored andcommitted
stacks.py
1 parent bcf7e28 commit e43b6bf

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

data-structures/stacks/stacks.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
myStack = []
2+
3+
myStack.append('a')
4+
myStack.append('b')
5+
myStack.append('c')
6+
7+
myStack
8+
9+
10+
myStack.pop()
11+
12+
myStack.pop()
13+
14+
myStack.pop()
15+
16+
17+
myStack.pop()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy