Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c7dbcc

Browse files
authored
Add all exercises of lesson 12.
1 parent f950b7b commit 2c7dbcc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎Lesson-12/tk.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from tkinter import *
2+
3+
root = Tk() # Creëer het hoofdscherm
4+
5+
button1 = Button(master = root, text = 'Button 1')
6+
button1.pack(side = LEFT, pady = 10)
7+
8+
button2 = Button(master = root, text = 'Button 2')
9+
button2.pack(side = RIGHT, pady = 10)
10+
11+
button3 = Button(master = root, text = 'Button 2')
12+
button3.pack(side = TOP, pady = 10)
13+
14+
root.mainloop()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /