turtle画图,简单的代码
程序员文章站
2022-06-24 19:43:05
...
>>> from turtle import *
>>> color('red','yellow')
>>> begin_fill()
>>> while True:
... forward(200)
... left(170)
... if abs(pos())<1:
... break
...
>>> end_fill()
>>> done()
上一篇: Git使用笔记[持续更新]