Commit cc38b791 by BellCodeEditor

save project

parent 7aa2980e
Showing with 5 additions and 3 deletions
......@@ -4,12 +4,14 @@
"""
import turtle
pen = turtle.Pen()
screen=
screen.
color=["red","blue","orange","yellow"]
screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","blue","orange","yellow"]
pen.speed(0)
for i in range(1,300):
pen.forward(i)
pen.color(colors[i%4])
pen.right(91)
# 隐藏画笔,保存画布
pen.hideturtle()
......
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