python 画图

利用turtle 很简单的画一张图

import turtle
t=turtle.Pen()
for x in range(300):
    t.forward(x)
    t.left(59)
image.png

你可能感兴趣的:(python 画图)