Last active
February 6, 2020 11:45
-
-
Save ceffiong/cfab2b18fe7589b6247f3376b32904ec to your computer and use it in GitHub Desktop.
Guessing Game Main Window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
window = tk.Tk() | |
window.title("Guessing Game") | |
lblInst = tk.Label(window, text = "Guess a number from 0 to 9") | |
lblLine0 = tk.Label(window, text = "*********************************************************************") | |
# append elements to grid | |
lblInst.grid(row=0, column=0, columnspan=5) | |
lblLine0.grid(row=1, column=0, columnspan=5) | |
window.mainloop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment