利用turtle 很簡單的畫一張圖 import turtle t=turtle.Pen() for x in range(300): t.forward(x) t.left(59) image.png