so i have a simple problem but i have no idea what's wrong so have a look:
from tkinter import *
from time import sleep
root = Tk()
l1 = Label(root, text="Ok")
l1.pack()
sleep(5)
l2 = Label(root, text="Great")
l2.pack()
sleep(10)
l3 = Label(root, text="Nice")
l3.pack()
root.mainloop()
All i wanted to do is make a window, and then display those label's one after another so the window would pop up with just l1 and after 5s the l2 would also appear and then after another 5s l3 should show up. Instead i don't see this window at all for 10s and then it appear with all the label's at once. Can someone help me fix this ?