'''
Thanks for your version Frank
'''
import tkinter as tk

# create a new instance of tkinter
window = tk.Tk()

# create a label widget with tkinter
greeting = tk.Label(text="Hello, World")

# use Label's pack() method to add our label to the window
greeting.pack()

# not sure what this does yet
window.mainloop()
'''
Thanks for your version Frank
'''
import tkinter as tk

# create a new instance of tkinter
window = tk.Tk()

# create a label widget with tkinter
greeting = tk.Label(text="Hello, World")

# use Label's pack() method to add our label to the window
greeting.pack()

# not sure what this does yet
window.mainloop()
Thanks for your version Frank # create a new instance of tkinter # create a label widget with tkinter # use Label's pack() method to add our label to the window # not sure what this does yet