Why does this code show nothing? What is wrong here?
import tkinter
import tkinter.font as tkFont
window=tkinter.Tk()
window.geometry("720x720")
fontStyle = tkFont.Font(family="Verdana", size=50)
tkinter.Label(window, text = "HELLO", font=fontStyle).pack()
tkinter.Label(window, text = "HELLO", font=fontStyle).pack()
from time import sleep
for i in range(0,10):
tkinter.Label(window, text = i, font=fontStyle).pack()
sleep(3)
I was trying to show all the outputs of the python code on a GUI window rather than the idle.