Commit 519abf9e by BellCodeEditor

save project

parent 2a5a5c2e
Showing with 9 additions and 5 deletions
......@@ -4,11 +4,15 @@
"""
import turtle
pen = turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
pen.speed(200)
for i in range (1,350,3):
colors=["red","yellow","blue","green"]
for i in range (1,650,3):
pen.pencolor(colors[i%4])
pen.left(91)
pen.forward(i)
# 请创造师在下面接着创作
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
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