Horje
how to draw polygon in tkinter Code Example
how to draw polygon in tkinter
from tkinter import *

root = Tk()

c = Canvas(root)
c.pack()

points = [x1,y1, x2,y2, xn,yn]
c.create_polygon(points)

root.mainloop()
how to draw polygon in tkinter
import tkinter
a=tkinter.TK()
c=Canvas(a)
c.pack()
x=[20,10,30,50,60,70]
c.creat_polygon(x)
a.mainloop()




Python

Related
python random float Code Example python random float Code Example
chart-studio python install Code Example chart-studio python install Code Example
python edit string variable Code Example python edit string variable Code Example
import csv from google drive python Code Example import csv from google drive python Code Example
last 2 numbers of integer in python Code Example last 2 numbers of integer in python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7