Skip to content

Commit

Permalink
TR updates, first round
Browse files Browse the repository at this point in the history
  • Loading branch information
lpozo committed Sep 24, 2024
1 parent a408601 commit cead9e4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python-closure/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

app = tk.Tk()
app.title("GUI App")
app.geometry("200x60")
app.geometry("320x240")

label = tk.Label(app, font=("Helvetica", 16, "bold"))
label.pack()
Expand Down
File renamed without changes.
10 changes: 10 additions & 0 deletions python-closure/stack_closure.py → python-closure/stack_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ def closure():
closure.push = push
closure.pop = pop
return closure


stack = Stack()
stack.push(1)
stack.push(2)
stack.push(3)

stack.pop()

stack._items

0 comments on commit cead9e4

Please sign in to comment.