Skip to content

Commit cead9e4

Browse files
committed
TR updates, first round
1 parent a408601 commit cead9e4

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

python-closure/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
app = tk.Tk()
44
app.title("GUI App")
5-
app.geometry("200x60")
5+
app.geometry("320x240")
66

77
label = tk.Label(app, font=("Helvetica", 16, "bold"))
88
label.pack()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ def closure():
1313
closure.push = push
1414
closure.pop = pop
1515
return closure
16+
17+
18+
stack = Stack()
19+
stack.push(1)
20+
stack.push(2)
21+
stack.push(3)
22+
23+
stack.pop()
24+
25+
stack._items

0 commit comments

Comments
 (0)