from tkinter import *
import tkinter.messagebox

def maximise():
	
	root.geometry(.format(root.winfo_screenwidth(), root.winfo_screenheight(), 0, 0))

def minimise():
	
	root.iconify()

def delete():
	
	if tkinter.messagebox.askokcancel(,):
		root.quit()

root = Tk()

mx=Button(root,text=,command=maximise)
mx.grid()
mx.bind(maximise)

mn=Button(root,text=,command=minimise)
mn.grid()
mn.bind(minimise)


root.protocol(,delete)

mainloop()