用户:有了是啥查看:0 回复:0 评论:0 创建时间:2023-04-16T19:04:57
【作品展示】

【作品介绍】
本人是一个刚接触Python的小白,做的不好请见谅
【作品源代码】
import turtle
pen = turtle.Pen()
pen.hideturtle()
color = input('颜色')
speed = int(input('速度(0-10)'))
jiaodu = int(input('角度'))
cuxi = int(input('粗细'))
pen.pensize(cuxi)
turtle.speed(speed)
n = 1
pen.pencolor(color)
for i in range(100000000):
pen.forward(n)
pen.left(jiaodu)
n = n + 10
turtle.done
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn