import tkinter as tk
root = tk.Tk()
root.title("Графічні примітиви")
canvas = tk.Canvas(root, width=200, height=200)
canvas.pack()
canvas.create_oval(10, 10, 190, 190, fill='lightgrey', outline='white')
canvas.create_arc(10, 10, 190, 190, start=0, extent=45, fill='red')
canvas.create_arc(10, 10, 190, 190, start=180, extent=25, fill='orange')
canvas.create_arc(10, 10, 190, 190, start=240, extent=100, style=tk.CHORD, fill='green')
canvas.create_arc(10, 10, 190, 190, start=160, extent=-70, style=tk.ARC, outline='darkblue', width=5)
root.mainloop()