Files
2023-12-10 13:03:19 +01:00

15 lines
269 B
Python

from tkinter import *
root = Tk()
# Creating a Label Widget
myLabel1 = Label(root, text="Hello World!")
myLabel2 = Label(root, text="My Name is John Elder")
# Shoving it onto the screen
myLabel1.grid(row=0, column=0)
myLabel2.grid(row=1, column=5)
root.mainloop()