Tkinter Label Format String Javascript Functions Explained In Python