Raspberry Pi - Display and Output
Identify the issue in this Tkinter code that attempts to update a label every second:
import tkinter as tk
root = tk.Tk()
label = tk.Label(root, text="0")
label.pack()
def update():
label.config(text="1")
update()
update()
root.mainloop()