press on the thing you want to do and do NOT put in the units or else mr beast (ohmygod)
from tkinter import * root=Tk() root.geometry("500x500") root.title("what code is this") label=Label(root) label.place(relx=0.5,rely=0.4,anchor=CENTER) def link (): label["text"]="why" btn=Button(root, text="please no", command=link) btn.place(relx=0.5,rely=0.5,anchor=CENTER) root.mainloop()