from tkinter import *

root = Tk()

label1 = Label(root,text = "hello world").grid(row = 0, column = 0)
label2 = Label(root,text = "python tkinter").grid(row = 1, column =1)

# label1.grid(row = 0, column = 0)
# label2.grid(row = 1, column =1)

root.mainloop()