I want a rectangle to appear WHEN I click on the button. But the rectangle appears even before I click.
from tkinter import *
def dessin():
can.create_rectangle(50,50,70,70, fill = 'navy')
fen = Tk()
can = Canvas(fen, width= 100, height = 100, bg = 'ivory')
can.pack(side = TOP)
bou = Button(fen, text= 'envoyez le rectangle', command = dessin())
bou.pack(side = BOTTOM)
bou1 = Button(fen,text='Quitter', command = fen.quit)
bou1.pack(side=RIGHT)
fen.mainloop()