python獲取點擊的座標畫圖形

獲取輸入的五個點畫五邊形python def pentagonUpdate(): p = {} win = GraphWin("Click", 800, 300)#後面兩個值爲窗體的長和寬 for i in range(5): p[i] = win.getMouse() p[i].draw(win) polygon = Polygon
相關文章
相關標籤/搜索