Commit 84d106ae by BellCodeEditor

save project

parent 4cc0b361
Showing with 3 additions and 0 deletions
......@@ -4,7 +4,10 @@
"""
import turtle
pen = turtle.Pen()
turtle.bgcolor("black")
color=["orange","yellow","green","red"]
for i in range(300):
pen.pencolor(color[i%4])
pen.forward(i)
pen.right(91)
# 隐藏画笔,保存画布
......
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