0
Trying to make a simple clock work is harder then I thought
I keep having problems with the syntax error in pydroid 3 this is the code I am using but it simply just keeps giving me syntax errors and won't run it I'm pretty new to python and don't know how to fix this from tkinter import * from time import strftime def time(): clock=strftime('%H:%M:%S:%P') label.configure(text=clock) label.after(1000, time) root=Tk() Label=Label(root,fg="red",bg="green") Label.pack() time() root.mainloop()
1 Odpowiedź
+ 1
read the error. What is "label "