from tkinter import * root = Tk() root.geometry('600x500') c = Canvas(width=460,height=460,bg='grey80') c.pack() c.create_line(10,10,50,10) oval = c.create_oval(10,10,80,180) rect = c.create_rectangle(180,10,80,80) root.mainloop()