Commit 7ae85bde by BellCodeEditor

save project

parent 0e10e8c3
Showing with 12 additions and 2 deletions
a = 2
s = 3
print(a,"*",s,"=",(a*s))
\ No newline at end of file
a = 2
s = 3
print(a,"*",s,"=",(a*s))
\ No newline at end of file
......@@ -6,11 +6,12 @@ import turtle
colors=["red","orange","cyan","green"]
pen = turtle.Pen()
# 请创造师在下面接着创作
distance=3
a=3
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.forward(a)
pen.right(100)
a+=1
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment