Skip to content

Commit f63b196

Browse files
Update
1 parent 6df2bf1 commit f63b196

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Chapter05/Stack.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@ def peek(self):
4343

4444

4545

46-
words = stack()
47-
words.push('4')
48-
words.push('5')
49-
words.push('6')
50-
words.push('7')
46+
words = Stack()
47+
words.push('egg')
48+
words.push('ham')
49+
words.push('spam')
5150

5251
#print the stack elements.
5352
current = words.top

0 commit comments

Comments
 (0)