Python 蟒蛇代码

2022-07-11 21:14:14   文档大全网     [ 字体: ] [ 阅读: ]

#文档大全网# 导语】以下是®文档大全网的小编为您整理的《Python 蟒蛇代码》,欢迎阅读!
蟒蛇,代码,Python
#PathonDraw.py import turtle

turtle.setup(650,350,200,200) turtle.penup() turtle.fd(-250) turtle.pendown() turtle.pensize(25)

turtle.pencolor("purple") turtle.seth(-40) for i in range(4):

turtle.circle(40,80) turtle.circle(-40,80) turtle.circle(40,80/2) turtle.fd(40)

turtle.circle(16,180) turtle.fd(40*2/3) turtle.done()


本文来源:https://www.wddqxz.cn/ff05f5ddae45b307e87101f69e3143323868f53b.html

相关推荐