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 c19ae24

Browse files
main.py updated
1 parent acb1eab commit c19ae24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎sticky notes/main.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ def display():
1313
root = tk.Tk()
1414
root.title("Sticky notes")
1515
root.geometry("400x400")
16-
# changes the width and height of the GUI.
16+
# changes size of the GUI.
1717
tk.Label(root, text=current_time).pack()
18-
# prints out the current time.
1918
tk.Label(root, text=note).pack()
2019
# prints the inputed text by user.
2120
root.mainloop()
2221
# keeps the sticky notes open and display text until the program is closed.
2322

2423
display()
24+
25+

0 commit comments

Comments
(0)

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