def add_letter():
    if not tiles_letter:
        return
rand = random.choice(tiles_letter)
tile_frame = Label(frame, text=rand)
tile_frame.pack()
root.after(500, add_letter)
tiles_letter.remove(rand)
tkinter: how to use after method