Python蟒蛇绘制源代码.docx
《Python蟒蛇绘制源代码.docx》由会员分享,可在线阅读,更多相关《Python蟒蛇绘制源代码.docx(1页珍藏版)》请在优知文库上搜索。
#PythonDraw.pyimportturtleturtle.setup(650,350,200,200)turtle.penup()turtle.fd(-250)turtle.pendow()turtle.pesize(25)turtle.pencolor(purple)turtle.seth(-40)foriinrange(4):turtle.circle(40180)turtle.circle(-40,80)turtle.circle(40t80/2)turtle.fd(40)turtle.circle(16,180)turtle.fd(40*2/3)turtle.done()
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Python 蟒蛇 绘制 源代码

关于本文