Commit 50a9b99a by BellCodeEditor

save project

parent acc01b47
Showing with 6 additions and 2 deletions
import turtle
s=turtle.Screen()
s.bgcolor("black")
colors=["r","mediumorchid","gold","c"]
p = turtle.Pen()
p.speed(100)
for b in range(1,300):
p.forward(b)
for i in range(1,300):
p.color(coiors[i%4])
p.forward(i)
p.right(91)
# 隐藏画笔,保存画布
p.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