Commit f1e633b6 by BellCodeEditor

save project

parent 1ec67d5f
Showing with 8 additions and 6 deletions
......@@ -4,16 +4,18 @@
"""
import turtle
screen=turtle.Screen()
pen = turtle.Pen()
colors=["blue","red","green","orange"]
screen.bgcolor("black")
@staticmethod
def funcname(parameter_list):
pass
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.left(91)
# 隐藏画笔,保存画布
turtle.done()
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