gui

kush
mail@pastecode.io avatar
unknown
plain_text
a year ago
809 B
0
Indexable
Never
import tkinter as tk
root=tk.Tk()
root.geometry("500x800")
root.title("faizan cat")
canvas=tk.Canvas(root,height=1000,width=1000,bg='white')
oval=canvas.create_oval(500,300,700,500)
oval=canvas.create_oval(450,500,750,750)
oval=canvas.create_oval(540,350,565,370)
oval=canvas.create_oval(635,350,660,370)
arc=canvas.create_arc(565,470,635,470,start=180,extent=180,style="arc")
polygon=canvas.create_polygon(600,400,580,420,620,420)
polygon=canvas.create_polygon(410,625,450,610,450,640)
polygon=canvas.create_polygon(790,625,750,610,750,640)
polygon=canvas.create_polygon(535,740,575,750,555,800)
polygon=canvas.create_polygon(635,750,675,740,655,800)
polygon=canvas.create_polygon(540,315,580,300,560,200)
polygon=canvas.create_polygon(660,315,620,300,640,200)
canvas.pack()
root.mainloop()