My code should do the following:
Start button starts to increase its size by one pixel when clicked
When reached to the window's size, it returns to its initial size. Can't really do the last part
from tkinter import *
def increase():
global counter, x, y
x += 1
y += 1
b1.config(padx=x, pady=y)
b1.after(100, increase)
root=Tk()
x=5
y=2
# buttons
b1=Button(root, text="Start", bg="blue",
command=increase, width=x, height=y)
b1.place(x=10,y=10)
b2=Button(root, text="Stop", command=quit)
b2.place(x=10, y=260)
root.geometry("320x300")
root.resizable(False, False)
root.mainloop()