Сам код
from tkinter import *
import time
root = Tk
root.title("Самые крутые часы"
root.resizable(width = False, height = False)
def tick():
watch.after(1000, tick)
watch['text'] = time.strftime("%H:%M:%S"
watch = Label(root, font = Arial 100"
watch.pack
tick()
root.mainloop()
А ошибка такая
C:\Users\User\Desktop>python часы.py
File "C:\Users\User\Desktop\часы.py", line 10
watch['text'] = time.strftime("%H:%M:%S"
^
IndentationError: unindent does not match any outer indentation level
from tkinter import *
import time
root = Tk
root.title("Самые крутые часы"
root.resizable(width = False, height = False)
def tick():
watch.after(1000, tick)
watch['text'] = time.strftime("%H:%M:%S"
watch = Label(root, font = Arial 100"
watch.pack
tick()
root.mainloop()
А ошибка такая
C:\Users\User\Desktop>python часы.py
File "C:\Users\User\Desktop\часы.py", line 10
watch['text'] = time.strftime("%H:%M:%S"
^
IndentationError: unindent does not match any outer indentation level